Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

chore: regenerate docs/openapi.yaml [skip ci]

Beenu Aroraad8230828f6b
diff --git a/docs/openapi.yaml b/docs/openapi.yaml
index 21671f895..760a9d7e2 100644
--- a/docs/openapi.yaml
+++ b/docs/openapi.yaml
@@ -7949,74 +7949,96 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
- /api/v1/assets/{asset_id}:
+ /api/v1/assets/vulnerabilities:
get:
tags:
- assets
- summary: Get Asset
- operationId: get_asset_api_v1_assets__asset_id__get
+ summary: List Vulnerabilities
+ operationId: list_vulnerabilities_api_v1_assets_vulnerabilities_get
security:
- HTTPBearer: []
parameters:
- - name: asset_id
- in: path
- required: true
+ - name: severity
+ in: query
+ required: false
schema:
- type: string
- format: uuid
- title: Asset Id
+ anyOf:
+ - type: string
+ - type: 'null'
+ title: Severity
+ - name: is_exploited
+ in: query
+ required: false
+ schema:
+ anyOf:
+ - type: boolean
+ - type: 'null'
+ title: Is Exploited
+ - name: limit
+ in: query
+ required: false
+ schema:
+ type: integer
+ maximum: 500
+ default: 50
+ title: Limit
+ - name: offset
+ in: query
+ required: false
+ schema:
+ type: integer
+ minimum: 0
+ default: 0
+ title: Offset
responses:
'200':
description: Successful Response
content:
application/json:
schema:
- $ref: '#/components/schemas/AssetOut'
+ type: array
+ items:
+ $ref: '#/components/schemas/VulnerabilityOut'
+ title: Response List Vulnerabilities Api V1 Assets Vulnerabilities
+ Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
- patch:
+ post:
tags:
- assets
- summary: Update Asset
- operationId: update_asset_api_v1_assets__asset_id__patch
+ summary: Create Vulnerability
+ operationId: create_vulnerability_api_v1_assets_vulnerabilities_post
security:
- HTTPBearer: []
- parameters:
- - name: asset_id
- in: path
- required: true
- schema:
- type: string
- format: uuid
- title: Asset Id
requestBody:
required: true
content:
application/json:
schema:
- $ref: '#/components/schemas/AssetUpdate'
+ $ref: '#/components/schemas/VulnerabilityCreate'
responses:
- '200':
+ '201':
description: Successful Response
content:
application/json:
schema:
- $ref: '#/components/schemas/AssetOut'
+ $ref: '#/components/schemas/VulnerabilityOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
- delete:
+ /api/v1/assets/{asset_id}:
+ get:
tags:
- assets
- summary: Delete Asset
- operationId: delete_asset_api_v1_assets__asset_id__delete
+ summary: Get Asset
+ operationId: get_asset_api_v1_assets__asset_id__get
security:
- HTTPBearer: []
parameters:
@@ -8028,92 +8050,70 @@ paths:
format: uuid
title: Asset Id
responses:
- '204':
+ '200':
description: Successful Response
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/AssetOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
- /api/v1/assets/vulnerabilities:
- get:
+ patch:
tags:
- assets
- summary: List Vulnerabilities
- operationId: list_vulnerabilities_api_v1_assets_vulnerabilities_get
+ summary: Update Asset
+ operationId: update_asset_api_v1_assets__asset_id__patch
security:
- HTTPBearer: []
parameters:
- - name: severity
- in: query
- required: false
- schema:
- anyOf:
- - type: string
- - type: 'null'
- title: Severity
- - name: is_exploited
- in: query
- required: false
- schema:
- anyOf:
- - type: boolean
- - type: 'null'
- title: Is Exploited
- - name: limit
- in: query
- required: false
- schema:
- type: integer
- maximum: 500
- default: 50
- title: Limit
- - name: offset
- in: query
- required: false
+ - name: asset_id
+ in: path
+ required: true
schema:
- type: integer
- minimum: 0
- default: 0
- title: Offset
+ type: string
+ format: uuid
+ title: Asset Id
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/AssetUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
- type: array
- items:
- $ref: '#/components/schemas/VulnerabilityOut'
- title: Response List Vulnerabilities Api V1 Assets Vulnerabilities
- Get
+ $ref: '#/components/schemas/AssetOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
- post:
+ delete:
tags:
- assets
- summary: Create Vulnerability
- operationId: create_vulnerability_api_v1_assets_vulnerabilities_post
+ summary: Delete Asset
+ operationId: delete_asset_api_v1_assets__asset_id__delete
security:
- HTTPBearer: []
- requestBody:
+ parameters:
+ - name: asset_id
+ in: path
required: true
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/VulnerabilityCreate'
+ schema:
+ type: string
+ format: uuid
+ title: Asset Id
responses:
- '201':
+ '204':
description: Successful Response
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/VulnerabilityOut'
'422':
description: Validation Error
content: