Picus Security Simulation Latest Result API

The Simulation-Latest-Result API from Picus Security — 7 operation(s) for simulation-latest-result.

Operations 7

GET /v1/simulations/{Id}/run/latest # Latest Simulation Run Result #
GET /v1/simulations/{Id}/run/latest/frameworks Latest Simulation Run Result with Mitre ATT&CK and Unified Kill Chain framework #
GET /v1/simulations/{Id}/run/latest/threats # Threats - Objectives - Actions #
GET /v1/simulations/{Id}/run/latest/threats/{ThreatId}/actions # Action Details List #
GET /v1/simulations/{Id}/run/latest/threats/{ThreatId}/actions/{ActionId} # Action Details #
GET /v1/simulations/{Id}/run/latest/threats/{ThreatId}/actions/{ActionId}/integrations/{IntegrationId}/alerts # Integration based Alert Details for Actions #
GET /v1/simulations/{Id}/run/latest/threats/{ThreatId}/actions/{ActionId}/integrations/{IntegrationId}/logs # Integration based Log Details for Actions #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/picus-security-simulation-latest-result-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

picus-security-simulation-latest-result-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Picus Customer Simulation Latest Result API
  description: '<p class="body-1">You can access the simulation raw data using the Rest API. Scope of the API includes; Simulation list, Simulation Details, Threat/Objective/Action Results, Results mapped to MITRE ATTC&K and Unified Kill Chain frameworks, Detection Analysis Results, Validated Logs & Alerts with SIEM & EDR integration.</p>

    <p class="body-1">OAuth2 protocol is used to authorize Refresh/Access tokens. To obtain the API, you should generate a refresh token and then request an access token using the /v1/auth/token endpoint. The refresh token will be valid for 6 months, whereas the access token will be available for 2 hours. After getting the access token, add Authorization: Bearer {accessToken} to the header to request access to the below endpoints.</p>

    <p class="body-1">Endpoints returning data with a lot of load works with the pagination method. You can use the offset and limit parameters to get the correct page.</p>


    <i class="body-1">Your usage will be limited with your Picus license.</i>'
  version: '1.0'
servers:
- url: https://api.picussecurity.com/
security:
- Access-Token: []
tags:
- name: Simulation-Latest-Result
paths:
  /v1/simulations/{Id}/run/latest:
    get:
      security:
      - Access-Token: []
      description: 'Includes Prevention and Detection result details

        Prevention Result: Total Threats, Blocked/Not Blocked, Attackers Objective, UnAchieved/Achieved Count

        Detection Result: Logged/Not Logged, Alerted/Not Alerted Count'
      tags:
      - Simulation-Latest-Result
      summary: '# Latest Simulation Run Result'
      operationId: latestRunParams
      parameters:
      - description: Simulation ID (URI parameter)
        name: Id
        in: path
        required: true
        schema:
          type: integer
          format: uint64
      responses:
        '200':
          $ref: '#/components/responses/SimulationRunDetailResponse'
        '422':
          $ref: '#/components/responses/validationErrorSwagger'
        default:
          $ref: '#/components/responses/genericErrorSwagger'
      servers:
      - url: https://api.picussecurity.com/
  /v1/simulations/{Id}/run/latest/frameworks:
    get:
      security:
      - Access-Token: []
      description: Latest Simulation Run Result with Mitre ATT&CK and Unified Kill Chain framework
      tags:
      - Simulation-Latest-Result
      summary: Latest Simulation Run Result with Mitre ATT&CK and Unified Kill Chain framework
      operationId: latestRunDetailParams
      parameters:
      - description: Simulation ID (URI parameter)
        name: Id
        in: path
        required: true
        schema:
          type: integer
          format: uint64
      responses:
        '200':
          $ref: '#/components/responses/RunDetailResultsReturnSwagger'
        '422':
          $ref: '#/components/responses/validationErrorSwagger'
        default:
          $ref: '#/components/responses/genericErrorSwagger'
      servers:
      - url: https://api.picussecurity.com/
  /v1/simulations/{Id}/run/latest/threats:
    get:
      security:
      - Access-Token: []
      description: 'Includes Threat, Attacker''s Objective, Action results for Prevention and Threat, Action results for Detection.

        Default limit: 10, Default offset: 0

        Max limit: 50'
      tags:
      - Simulation-Latest-Result
      summary: '# Threats - Objectives - Actions'
      operationId: latestRunThreatParams
      parameters:
      - x-go-name: Limit
        name: limit
        in: query
        schema:
          type: integer
          format: int64
      - x-go-name: Offset
        name: offset
        in: query
        schema:
          type: integer
          format: int64
      - description: Simulation ID (URI parameter)
        name: Id
        in: path
        required: true
        schema:
          type: integer
          format: uint64
      responses:
        '200':
          $ref: '#/components/responses/ThreatResultsReturnSwagger'
        '422':
          $ref: '#/components/responses/validationErrorSwagger'
        default:
          $ref: '#/components/responses/genericErrorSwagger'
      servers:
      - url: https://api.picussecurity.com/
  /v1/simulations/{Id}/run/latest/threats/{ThreatId}/actions:
    get:
      security:
      - Access-Token: []
      description: 'Includes detailed action result with attack start & end time, log & alert time and attack module based details (payloads, terminal log, file name, sha256, md5, sha1).

        Protocol based results are also available.'
      tags:
      - Simulation-Latest-Result
      summary: '# Action Details List'
      operationId: latestActionDetailsListParams
      parameters:
      - x-go-name: Limit
        name: limit
        in: query
        schema:
          type: integer
          format: int64
      - x-go-name: Offset
        name: offset
        in: query
        schema:
          type: integer
          format: int64
      - description: Simulation ID (URI parameter)
        name: Id
        in: path
        required: true
        schema:
          type: integer
          format: uint64
      - description: Threat ID (URI parameter)
        name: ThreatId
        in: path
        required: true
        schema:
          type: integer
          format: uint64
      responses:
        '200':
          $ref: '#/components/responses/ActionDetailsListReturnSwagger'
        '422':
          $ref: '#/components/responses/validationErrorSwagger'
        default:
          $ref: '#/components/responses/genericErrorSwagger'
      servers:
      - url: https://api.picussecurity.com/
  /v1/simulations/{Id}/run/latest/threats/{ThreatId}/actions/{ActionId}:
    get:
      security:
      - Access-Token: []
      description: 'Includes detailed action result with attack start & end time, log & alert time and attack module based details (payloads, terminal log, file name, sha256, md5, sha1).

        Protocol based results are also available.'
      tags:
      - Simulation-Latest-Result
      summary: '# Action Details'
      operationId: latestActionDetailsParams
      parameters:
      - description: Simulation ID (URI parameter)
        name: Id
        in: path
        required: true
        schema:
          type: integer
          format: uint64
      - description: Threat ID (URI parameter)
        name: ThreatId
        in: path
        required: true
        schema:
          type: integer
          format: uint64
      - description: Action ID (URI parameter)
        name: ActionId
        in: path
        required: true
        schema:
          type: integer
          format: uint64
      - x-go-name: NodeId
        name: node_id
        in: query
        schema:
          type: integer
          format: int64
      responses:
        '200':
          $ref: '#/components/responses/ActionDetailsReturnSwagger'
        '422':
          $ref: '#/components/responses/validationErrorSwagger'
        default:
          $ref: '#/components/responses/genericErrorSwagger'
      servers:
      - url: https://api.picussecurity.com/
  /v1/simulations/{Id}/run/latest/threats/{ThreatId}/actions/{ActionId}/integrations/{IntegrationId}/alerts:
    get:
      security:
      - Access-Token: []
      description: 'Includes Action Name, Log Source and Alert Time.

        Default limit: 100, Default offset: 0

        Max limit: 1000

        Same action can be used multiple times under the scope of threat where these actions are distinguished by node_id

        node_id parameter can be used optionally. For the case it is not provided, first node is returned.'
      tags:
      - Simulation-Latest-Result
      summary: '# Integration based Alert Details for Actions'
      operationId: latestActionAlertsParams
      parameters:
      - x-go-name: Limit
        name: limit
        in: query
        schema:
          type: integer
          format: int64
      - x-go-name: Offset
        name: offset
        in: query
        schema:
          type: integer
          format: int64
      - description: Simulation ID (URI parameter)
        name: Id
        in: path
        required: true
        schema:
          type: integer
          format: uint64
      - description: Threat ID (URI parameter)
        name: ThreatId
        in: path
        required: true
        schema:
          type: integer
          format: uint64
      - description: Action ID (URI parameter)
        name: ActionId
        in: path
        required: true
        schema:
          type: integer
          format: uint64
      - description: Integration ID (URI parameter)
        name: IntegrationId
        in: path
        required: true
        schema:
          type: integer
          format: uint64
      - x-go-name: NodeId
        name: node_id
        in: query
        schema:
          type: integer
          format: int64
      responses:
        '200':
          $ref: '#/components/responses/ActionAlertsReturnSwagger'
        '422':
          $ref: '#/components/responses/validationErrorSwagger'
        default:
          $ref: '#/components/responses/genericErrorSwagger'
      servers:
      - url: https://api.picussecurity.com/
  /v1/simulations/{Id}/run/latest/threats/{ThreatId}/actions/{ActionId}/integrations/{IntegrationId}/logs:
    get:
      security:
      - Access-Token: []
      description: 'Includes Action Name, Log Source and Alert Time.

        Default limit: 100, Default offset: 0

        Max limit: 1000

        Same action can be used multiple times under the scope of threat where these actions are distinguished by node_id

        node_id parameter can be used optionally. For the case it is not provided, first node is returned.'
      tags:
      - Simulation-Latest-Result
      summary: '# Integration based Log Details for Actions'
      operationId: latestActionLogsParams
      parameters:
      - x-go-name: Limit
        name: limit
        in: query
        schema:
          type: integer
          format: int64
      - x-go-name: Offset
        name: offset
        in: query
        schema:
          type: integer
          format: int64
      - description: Simulation ID (URI parameter)
        name: Id
        in: path
        required: true
        schema:
          type: integer
          format: uint64
      - description: Threat ID (URI parameter)
        name: ThreatId
        in: path
        required: true
        schema:
          type: integer
          format: uint64
      - description: Action ID (URI parameter)
        name: ActionId
        in: path
        required: true
        schema:
          type: integer
          format: uint64
      - description: Integration ID (URI parameter)
        name: IntegrationId
        in: path
        required: true
        schema:
          type: integer
          format: uint64
      - x-go-name: NodeId
        name: node_id
        in: query
        schema:
          type: integer
          format: int64
      responses:
        '200':
          $ref: '#/components/responses/ActionLogsReturnSwagger'
        '422':
          $ref: '#/components/responses/validationErrorSwagger'
        default:
          $ref: '#/components/responses/genericErrorSwagger'
      servers:
      - url: https://api.picussecurity.com/
components:
  schemas:
    DetectionResult:
      type: object
      properties:
        alert_result:
          description: Alert result Alerted / Not Alerted
          type: string
          x-go-name: AlertResult
        has_alert_analysis:
          description: Has alert analysis
          type: boolean
          x-go-name: HasAlertAnalysis
        has_log_analysis:
          description: Has Log analysis
          type: boolean
          x-go-name: HasLogAnalysis
        integration_based_results:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationBasedResult'
          x-go-name: DetectionResults
        log_result:
          description: Log result Logged / Not Logged
          type: string
          x-go-name: LogResult
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    SimulationRunThreat:
      type: object
      properties:
        completed_at:
          description: Completed At
          type: integer
          format: int64
          x-go-name: CompletedAt
        detection_analysis:
          $ref: '#/components/schemas/ThreatsDetectionResult'
        has_detection_analysis:
          description: Has detection analysis
          type: boolean
          x-go-name: HasDetectionAnalysis
        objectives:
          type: array
          items:
            $ref: '#/components/schemas/Objective'
          x-go-name: Objectives
        prevention:
          description: Prevention Result
          type: string
          x-go-name: Prevention
        release_date:
          description: Release Date
          type: integer
          format: int64
          x-go-name: ReleaseDate
        severity:
          description: Severity
          type: string
          x-go-name: Severity
        started_at:
          description: Started At
          type: integer
          format: int64
          x-go-name: StartedAt
        threat_display_id:
          description: Threat Display Id
          type: integer
          format: int64
          x-go-name: DisplayId
        threat_id:
          description: Threat Id
          type: integer
          format: int64
          x-go-name: Id
        threat_name:
          description: Threat Name
          type: string
          x-go-name: Name
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    Frameworks:
      type: object
      properties:
        mitre:
          $ref: '#/components/schemas/Mitre'
        ukc:
          $ref: '#/components/schemas/Ukc'
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    Ukc:
      type: object
      properties:
        phase:
          description: Unified kill chain Phase
          type: string
          x-go-name: Phase
        stage:
          description: Unified kill chain SÏtage
          type: string
          x-go-name: Stage
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    StatusDetails:
      type: object
      properties:
        detection:
          $ref: '#/components/schemas/ThreatCounts'
        prevention:
          $ref: '#/components/schemas/ThreatCounts'
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/dto
    ThreatCounts:
      type: object
      properties:
        completed_threat_count:
          type: integer
          format: int64
          x-go-name: Completed
        total_threat_count:
          type: integer
          format: int64
          x-go-name: Total
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/dto
    ProtocolBasedResults:
      type: object
      properties:
        alert_result:
          description: Alert result if it has alert analysis
          type: string
          x-go-name: AlertResult
        completed_at:
          description: Completed at
          type: integer
          format: int64
          x-go-name: CompletedAt
        has_alert_analysis:
          description: Has alert analysis
          type: boolean
          x-go-name: HasAlertAnalysis
        has_log_analysis:
          description: Has log analysis
          type: boolean
          x-go-name: HasLogAnalysis
        integrations:
          type: array
          items:
            $ref: '#/components/schemas/PIntegrationBasedResult'
          x-go-name: Integrations
        log_result:
          description: Log result if it has log analysis
          type: string
          x-go-name: LogResult
        prevention:
          description: Prevention result
          type: string
          x-go-name: Prevention
        protocol:
          description: Protocol http / https
          type: string
          x-go-name: Protocol
        started_at:
          description: Started at
          type: integer
          format: int64
          x-go-name: StartedAt
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    SimulationResultsAlertDTO:
      type: object
      properties:
        alerted_threat_count:
          description: Alerted threat count
          type: integer
          format: int64
          x-go-name: AlertedThreatCount
        not_alerted_threat_count:
          description: Not alerted threat count
          type: integer
          format: int64
          x-go-name: NotAlertedThreatCount
        score:
          description: Alert score
          type: integer
          format: int64
          x-go-name: Score
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    ActionLogDTO:
      type: object
      properties:
        action:
          description: Log Action
          type: string
          x-go-name: Action
        log_id:
          description: Log id
          type: integer
          format: int64
          x-go-name: LogId
        log_type:
          description: Log Type prevention / detection / N/A
          type: string
          x-go-name: LogType
        name:
          description: Log Name
          type: string
          x-go-name: Name
        source:
          description: Log Source
          type: string
          x-go-name: LogSource
        time:
          description: Logged time
          type: integer
          format: int64
          x-go-name: LogTime
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    TacticResults:
      type: object
      properties:
        blocked_action_count:
          type: integer
          format: int64
          x-go-name: BlockedActionCount
        description:
          type: string
          x-go-name: Description
        detection_result:
          $ref: '#/components/schemas/DetectionResult'
        mitre_id:
          type: string
          x-go-name: MitreID
        mitre_name:
          type: string
          x-go-name: MitreName
        name:
          type: string
          x-go-name: Name
        not_blocked_action_count:
          type: integer
          format: int64
          x-go-name: NotBlockedActionCount
        not_tested_action_count:
          type: integer
          format: int64
          x-go-name: NotTestedActionCount
        techniques:
          type: array
          items:
            $ref: '#/components/schemas/TechniqueResults'
          x-go-name: Techniques
        total_action_count:
          type: integer
          format: int64
          x-go-name: TotalActionCount
        url:
          type: string
          x-go-name: Url
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run/details
    IntegrationBasedResult:
      type: object
      properties:
        alert:
          $ref: '#/components/schemas/Alert'
        has_alert_analysis:
          description: Has alert analysis
          type: boolean
          x-go-name: HasAlertAnalysis
        has_log_analysis:
          description: Has log analysis
          type: boolean
          x-go-name: HasLogAnalysis
        integration_id:
          description: Integration Id
          type: integer
          format: int64
          x-go-name: IntegrationId
        log:
          $ref: '#/components/schemas/Logging'
        product_name:
          description: Product name
          type: string
          x-go-name: ProductName
        protocol:
          description: Protocol like http / https
          type: string
          x-go-name: Protocol
        status:
          description: Status
          type: string
          x-go-name: Status
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    Alert:
      type: object
      properties:
        alert_result:
          description: Alert Result Alerted / Not Alerted
          type: string
          x-go-name: AlertResult
        alerted_time:
          description: Alerted time if it is alerted
          type: integer
          format: int64
          x-go-name: AlertedTime
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    FileDetailsCommon:
      type: object
      properties:
        md5:
          type: string
          x-go-name: MD5
        name:
          type: string
          x-go-name: Name
        sha1:
          type: string
          x-go-name: Sha1
        sha256:
          type: string
          x-go-name: Sha256
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    TechniqueResults:
      type: object
      properties:
        blocked_action_count:
          type: integer
          format: int64
          x-go-name: BlockedActionCount
        description:
          type: string
          x-go-name: Description
        detection_result:
          $ref: '#/components/schemas/DetectionResult'
        mitre_id:
          type: string
          x-go-name: MitreID
        mitre_name:
          type: string
          x-go-name: MitreName
        name:
          type: string
          x-go-name: Name
        not_blocked_action_count:
          type: integer
          format: int64
          x-go-name: NotBlockedActionCount
        not_tested_action_count:
          type: integer
          format: int64
          x-go-name: NotTestedActionCount
        sub_techniques:
          type: array
          items:
            $ref: '#/components/schemas/SubTechniqueResults'
          x-go-name: SubTechniques
        total_action_count:
          type: integer
          format: int64
          x-go-name: TotalActionCount
        url:
          type: string
          x-go-name: Url
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run/details
    Mitre:
      type: object
      properties:
        sub_technique:
          description: Mitre Att&ck SubTechnique Name
          type: string
          x-go-name: SubTechnique
        sub_technique_id:
          description: Mitre Att&ck SubTechnique Id
          type: string
          x-go-name: SubTechniqueId
        tactic:
          description: Mitre Att&ck Tactic Name
          type: string
          x-go-name: Tactic
        tactic_id:
          description: Mitre Att&ck Tactic Id
          type: string
          x-go-name: TacticId
        technique:
          description: Mitre Att&ck Technique Name
          type: string
          x-go-name: Technique
        technique_id:
          description: Mitre Att&ck Technique Id
          type: string
          x-go-name: TechniqueId
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    MitreResults:
      type: object
      properties:
        tactics:
          type: array
          items:
            $ref: '#/components/schemas/TacticResults'
          x-go-name: Tactics
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run/details
    SimulationThreatCounts:
      type: object
      properties:
        blocked_count:
          description: Blocked threat count
          type: integer
          format: int64
          x-go-name: BlockedCount
        not_blocked_count:
          description: Not blocked threat count
          type: integer
          format: int64
          x-go-name: NotBlockedCount
        not_tested_count:
          description: Not tested threat count
          type: integer
          format: int64
          x-go-name: NotTestedCount
        total_count:
          description: Total threat count
          type: integer
          format: int64
          x-go-name: ThreatCount
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    SimulationResultsPreventionDTO:
      type: object
      properties:
        attacker_objectives:
          $ref: '#/components/schemas/SimulationObjectiveCounts'
        security_score:
          description: Prevention Security Score
          type: integer
          format: int64
          x-go-name: SecurityScore
        threat:
          $ref: '#/components/schemas/SimulationThreatCounts'
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    ActionDetailReferences:
      type: object
      properties:
        cve_reference:
          $ref: '#/components/schemas/Reference'
        cwe_reference:
          $ref: '#/components/schemas/Reference'
        virus_total_reference:
          type: array
          items:
            $ref: '#/components/schemas/Reference'
          x-go-name: VirusTotalReference
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    ActionAlertDTO:
      type: object
      properties:
        action:
          description: Alert action
          type: string
          x-go-name: Action
        alert_id:
          description: Alert Id
          type: integer
          format: int64
          x-go-name: AlertId
        log_type:
          description: Log Type prevention / detection / N/A
          type: string
          x-go-name: LogType
        name:
          description: Alert name
          type: string
          x-go-name: Name
        source:
          description: Log Source
          type: string
          x-go-name: LogSource
        time:
          description: Alerted time
          type: integer
          format: int64
          x-go-name: LogTime
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    ActionDetailsDTO:
      type: object
      properties:
        action_id:
          description: Action Id
          type: integer
          format: uint64
          x-go-name: ActionId
        action_name:
          description: Action Name
          type: string
          x-go-name: ActionName
        affected_os:
          description: Affected Os
          type: array
          items:
            type: string
          x-go-name: AffectedOS
        affected_platforms:
          description: Affected Platforms
          type: array
          items:
            $ref: '#/components/schemas/PlatformCommon'
          x-go-name: AffectedPlatforms
        affected_products:
          description: Affected Products
          type: array
          items:
            type: string
          x-go-name: AffectedProducts
        attack_module:
          description: Attack Module
          type: string
          x-go-name: AttackModule
        attack_module_id:
          description: Attack Module Id
          type: integer
          format: uint64
          x-go-name: AttackModuleId
        category:
          description: Category
          type: string
          x-go-name: Category
        completed_at:
          description: Completed At
          type: integer
          format: int64
          x-go-name: CompletedAt
        description:
          description: Description
          type: string
          x-go-name: Description
        detection_analysis:
          $ref: '#/components/schemas/DetectionResult'
        display_id:
          description: Display Id (Seen in UI)
          type: integer
          format: uint64
          x-go-name: DisplayId
        frameworks:
          $ref: '#/components/schemas/Frameworks'
        has_detection_analysis:
          description: Has detection analysis
          type: boolean
          x-go-name: HasDetectionAnalysis
        module_based_results:
          $ref: '#/components/schemas/ModuleBasedResults'
        node_id:
          description: Node Id (One action can be in the same threat, it can be specified with node id)
          type: integer
          format: uint64
          x-go-name: NodeId
        owasp:
          description: Owasp
          type: string
          x-go-name: Owasp
        prevention:
          description: Prevention Result
          type: string
          x-go-name: Prevention
        protocol_based_result:
          type: array
          items:
            $ref: '#/components/schemas/ProtocolBasedResults'
          x-go-name: ProtocolBasedResult
        references:
          $ref: '#/components/schemas/ActionDetailReferences'
        sources:
          description: Sources
          type: array
          items:
            type: string
          x-go-name: Sources
        started_at:
          description: Started At
          type: integer
          format: int64
          x-go-name: StartedAt
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    SimulationResultsLoggingDTO:
      type: object
      properties:
        logged_threat_count:
          description: Logged threat count
          type: integer
          format: int64
          x-go-name: LoggedThreatCount
        not_logged_threat_count:
          description: Not logged threat count
          type: integer
          format: int64
          x-go-name: NotLoggedThreatCount
        score:
          description: Log Score
          type: integer
          format: int64
          x-go-name: Score
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    ThreatsDetectionResult:
      type: object
      properties:
        alert_result:
          description: Alert result if it has alert analysis
          type: string
          x-go-name: AlertResult
        has_alert_analysis:
          description: Has alert analysis
          type: boolean
          x-go-name: HasAlertAnalysis
        has_log_analysis:
          description: Has log analysis
          type: boolean
          x-go-name: HasLogAnalysis
        integrations:
          type: array
          items:
            $ref: '#/components/schemas/Enrichment'
          x-go-name: Integrations
        log_result:
          description: Log result if it has log analysis
          type: string
          x-go-name: LogResult
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    StagesResult:
      type: object
      properties:
        blocked_action_count:
          type: integer
          format: int64
          x-go-name: BlockedActionCount
        detection_result:
          $ref: '#/components/schemas/DetectionResult'
        name:
          type: string
          x-go-name: Name
        not_blocked_action_count:
          type: integer
          format: int64
          x-go-name: NotBlockedActionCount
        not_tested_action_count:
          type: integer
          format: int64
          x-go-name: NotTestedActionCount
        phases:
          type: array
          items:
            $ref: '#/components/schemas/PhasesResult'
          x-go-name: Phases
        total_action_count:
          type: integer
          format: int64
          x-go-name: TotalActionCount
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run/details
    PhasesResult:
      type: object
      properties:
        blocked_action_count:
          type: integer
          format: int64
          x-go-name: BlockedActionCount
        detection_result:
          $ref: '#/components/schemas/DetectionResult'
        name:
          type: string
          x-go-name: Name
        not_blocked_action_count:
          type: integer
          format: int64
          x-go-name: NotBlockedActionCount
        not_tested_action_count:
          type: integer
          format: int64
          x-go-name: NotTestedActionCount
        total_action_count:
          type: integer
          format: int64
          x-go-name: TotalActionCount
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run/details
    PlatformCommon:
      type: object
      properties:
        architecture:
          type: string
          x-go-name: Architecture
        os:
          type: string
          x-go-name: Os
        platform:
          type: string
          x-go-name: Platform
      x-go-package: github.com/picusnext/picus-digital/go/customer-api/simulations_run
    FlowNode:
      type: object
      properties:
        display_id:
          type: integer
          format: uint64
          x-go-name: DisplayId
        false_items:
          type: array
          items:
            $ref: '#/components/schemas/FlowNode'
          x-go-name: FalseItems
        id:
          type: integer
          format: uint64
          x-go-name: ID
        name:
          type: string
          x-go-name: Name
        node_id:
          type: integer

# --- truncated at 32 KB (49 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/picus-security/refs/heads/main/openapi/picus-security-simulation-latest-result-api-openapi.yml