@@ -5879,6 +5879,115 @@ components:
58795879 required:
58805880 - type
58815881 type: object
5882+ AzureScanOptions:
5883+ description: The definition of `AzureScanOptions` object.
5884+ example:
5885+ data:
5886+ attributes:
5887+ vuln_containers_os: true
5888+ vuln_host_os: true
5889+ id: 12345678-90ab-cdef-1234-567890abcdef
5890+ type: azure_scan_options
5891+ properties:
5892+ data:
5893+ $ref: '#/components/schemas/AzureScanOptionsData'
5894+ type: object
5895+ AzureScanOptionsArray:
5896+ description: The definition of `AzureScanOptionsArray` object.
5897+ example:
5898+ data:
5899+ - attributes:
5900+ vuln_containers_os: true
5901+ vuln_host_os: true
5902+ id: 12345678-90ab-cdef-1234-567890abcdef
5903+ type: azure_scan_options
5904+ properties:
5905+ data:
5906+ description: The `AzureScanOptionsArray` `data`.
5907+ items:
5908+ $ref: '#/components/schemas/AzureScanOptionsData'
5909+ type: array
5910+ required:
5911+ - data
5912+ type: object
5913+ AzureScanOptionsData:
5914+ description: The definition of `AzureScanOptionsData` object.
5915+ properties:
5916+ attributes:
5917+ $ref: '#/components/schemas/AzureScanOptionsDataAttributes'
5918+ id:
5919+ description: The `AzureScanOptionsData` `id`.
5920+ example: ''
5921+ type: string
5922+ type:
5923+ $ref: '#/components/schemas/AzureScanOptionsDataType'
5924+ required:
5925+ - type
5926+ - id
5927+ type: object
5928+ AzureScanOptionsDataAttributes:
5929+ description: The definition of `AzureScanOptionsDataAttributes` object.
5930+ properties:
5931+ vuln_containers_os:
5932+ description: The `attributes` `vuln_containers_os`.
5933+ type: boolean
5934+ vuln_host_os:
5935+ description: The `attributes` `vuln_host_os`.
5936+ type: boolean
5937+ type: object
5938+ AzureScanOptionsDataType:
5939+ default: azure_scan_options
5940+ description: The type of the resource. The value should always be `azure_scan_options`.
5941+ enum:
5942+ - azure_scan_options
5943+ example: azure_scan_options
5944+ type: string
5945+ x-enum-varnames:
5946+ - AZURE_SCAN_OPTIONS
5947+ AzureScanOptionsInputUpdate:
5948+ description: The definition of `AzureScanOptionsInputUpdate` object.
5949+ example:
5950+ data:
5951+ id: 12345678-90ab-cdef-1234-567890abcdef
5952+ type: azure_scan_options
5953+ properties:
5954+ data:
5955+ $ref: '#/components/schemas/AzureScanOptionsInputUpdateData'
5956+ type: object
5957+ AzureScanOptionsInputUpdateData:
5958+ description: The definition of `AzureScanOptionsInputUpdateData` object.
5959+ properties:
5960+ attributes:
5961+ $ref: '#/components/schemas/AzureScanOptionsInputUpdateDataAttributes'
5962+ id:
5963+ description: The `AzureScanOptionsInputUpdateData` `id`.
5964+ example: ''
5965+ type: string
5966+ type:
5967+ $ref: '#/components/schemas/AzureScanOptionsInputUpdateDataType'
5968+ required:
5969+ - type
5970+ - id
5971+ type: object
5972+ AzureScanOptionsInputUpdateDataAttributes:
5973+ description: The definition of `AzureScanOptionsInputUpdateDataAttributes` object.
5974+ properties:
5975+ vuln_containers_os:
5976+ description: The `attributes` `vuln_containers_os`.
5977+ type: boolean
5978+ vuln_host_os:
5979+ description: The `attributes` `vuln_host_os`.
5980+ type: boolean
5981+ type: object
5982+ AzureScanOptionsInputUpdateDataType:
5983+ default: azure_scan_options
5984+ description: Azure scan options resource type.
5985+ enum:
5986+ - azure_scan_options
5987+ example: azure_scan_options
5988+ type: string
5989+ x-enum-varnames:
5990+ - AZURE_SCAN_OPTIONS
58825991 AzureStorageDestination:
58835992 description: The `azure_storage` destination forwards logs to an Azure Blob
58845993 Storage container.
@@ -51200,6 +51309,11 @@ paths:
5120051309 $ref: '#/components/responses/NotAuthorizedResponse'
5120151310 '429':
5120251311 $ref: '#/components/responses/TooManyRequestsResponse'
51312+ security:
51313+ - apiKeyAuth: []
51314+ appKeyAuth: []
51315+ - AuthZ:
51316+ - security_monitoring_findings_read
5120351317 summary: List AWS Scan Options
5120451318 tags:
5120551319 - Agentless Scanning
@@ -51228,6 +51342,11 @@ paths:
5122851342 $ref: '#/components/responses/ConflictResponse'
5122951343 '429':
5123051344 $ref: '#/components/responses/TooManyRequestsResponse'
51345+ security:
51346+ - apiKeyAuth: []
51347+ appKeyAuth: []
51348+ - AuthZ:
51349+ - org_management
5123151350 summary: Post AWS Scan Options
5123251351 tags:
5123351352 - Agentless Scanning
@@ -51249,6 +51368,11 @@ paths:
5124951368 $ref: '#/components/responses/NotFoundResponse'
5125051369 '429':
5125151370 $ref: '#/components/responses/TooManyRequestsResponse'
51371+ security:
51372+ - apiKeyAuth: []
51373+ appKeyAuth: []
51374+ - AuthZ:
51375+ - org_management
5125251376 summary: Delete AWS Scan Options
5125351377 tags:
5125451378 - Agentless Scanning
@@ -51272,6 +51396,11 @@ paths:
5127251396 $ref: '#/components/responses/NotFoundResponse'
5127351397 '429':
5127451398 $ref: '#/components/responses/TooManyRequestsResponse'
51399+ security:
51400+ - apiKeyAuth: []
51401+ appKeyAuth: []
51402+ - AuthZ:
51403+ - security_monitoring_findings_read
5127551404 summary: Get AWS scan options
5127651405 tags:
5127751406 - Agentless Scanning
@@ -51298,10 +51427,123 @@ paths:
5129851427 $ref: '#/components/responses/NotFoundResponse'
5129951428 '429':
5130051429 $ref: '#/components/responses/TooManyRequestsResponse'
51430+ security:
51431+ - apiKeyAuth: []
51432+ appKeyAuth: []
51433+ - AuthZ:
51434+ - org_management
5130151435 summary: Patch AWS Scan Options
5130251436 tags:
5130351437 - Agentless Scanning
5130451438 x-codegen-request-body-name: body
51439+ /api/v2/agentless_scanning/accounts/azure:
51440+ get:
51441+ description: Fetches the scan options configured for Azure accounts.
51442+ operationId: ListAzureScanOptions
51443+ responses:
51444+ '200':
51445+ content:
51446+ application/json:
51447+ schema:
51448+ $ref: '#/components/schemas/AzureScanOptionsArray'
51449+ description: OK
51450+ '429':
51451+ $ref: '#/components/responses/TooManyRequestsResponse'
51452+ security:
51453+ - apiKeyAuth: []
51454+ appKeyAuth: []
51455+ - AuthZ:
51456+ - security_monitoring_findings_read
51457+ summary: List azure scan options
51458+ tags:
51459+ - Agentless Scanning
51460+ post:
51461+ description: Activate Agentless scan options for an Azure subscription.
51462+ operationId: CreateAzureScanOptions
51463+ requestBody:
51464+ content:
51465+ application/json:
51466+ schema:
51467+ $ref: '#/components/schemas/AzureScanOptions'
51468+ required: true
51469+ responses:
51470+ '201':
51471+ content:
51472+ application/json:
51473+ schema:
51474+ $ref: '#/components/schemas/AzureScanOptions'
51475+ description: Created
51476+ '429':
51477+ $ref: '#/components/responses/TooManyRequestsResponse'
51478+ security:
51479+ - apiKeyAuth: []
51480+ appKeyAuth: []
51481+ - AuthZ:
51482+ - org_management
51483+ summary: Create azure scan options
51484+ tags:
51485+ - Agentless Scanning
51486+ /api/v2/agentless_scanning/accounts/azure/{subscription_id}:
51487+ delete:
51488+ description: Delete Agentless scan options for an Azure subscription.
51489+ operationId: DeleteAzureScanOptions
51490+ parameters:
51491+ - description: The Azure subscription ID.
51492+ in: path
51493+ name: subscription_id
51494+ required: true
51495+ schema:
51496+ example: 12345678-90ab-cdef-1234-567890abcdef
51497+ type: string
51498+ responses:
51499+ '204':
51500+ description: No Content
51501+ '429':
51502+ $ref: '#/components/responses/TooManyRequestsResponse'
51503+ security:
51504+ - apiKeyAuth: []
51505+ appKeyAuth: []
51506+ - AuthZ:
51507+ - org_management
51508+ summary: Delete azure scan options
51509+ tags:
51510+ - Agentless Scanning
51511+ patch:
51512+ description: Update the Agentless scan options for an activated subscription.
51513+ operationId: UpdateAzureScanOptions
51514+ parameters:
51515+ - description: The Azure subscription ID.
51516+ in: path
51517+ name: subscription_id
51518+ required: true
51519+ schema:
51520+ example: 12345678-90ab-cdef-1234-567890abcdef
51521+ type: string
51522+ requestBody:
51523+ content:
51524+ application/json:
51525+ schema:
51526+ $ref: '#/components/schemas/AzureScanOptionsInputUpdate'
51527+ required: true
51528+ responses:
51529+ '200':
51530+ content:
51531+ application/json:
51532+ schema:
51533+ $ref: '#/components/schemas/AzureScanOptions'
51534+ description: OK
51535+ '204':
51536+ description: No Content
51537+ '429':
51538+ $ref: '#/components/responses/TooManyRequestsResponse'
51539+ security:
51540+ - apiKeyAuth: []
51541+ appKeyAuth: []
51542+ - AuthZ:
51543+ - org_management
51544+ summary: Update azure scan options
51545+ tags:
51546+ - Agentless Scanning
5130551547 /api/v2/agentless_scanning/ondemand/aws:
5130651548 get:
5130751549 description: Fetches the most recent 1000 AWS on demand tasks.
@@ -51317,6 +51559,11 @@ paths:
5131751559 $ref: '#/components/responses/NotAuthorizedResponse'
5131851560 '429':
5131951561 $ref: '#/components/responses/TooManyRequestsResponse'
51562+ security:
51563+ - apiKeyAuth: []
51564+ appKeyAuth: []
51565+ - AuthZ:
51566+ - security_monitoring_findings_read
5132051567 summary: Get AWS On Demand tasks
5132151568 tags:
5132251569 - Agentless Scanning
@@ -51349,6 +51596,11 @@ paths:
5134951596 $ref: '#/components/responses/NotAuthorizedResponse'
5135051597 '429':
5135151598 $ref: '#/components/responses/TooManyRequestsResponse'
51599+ security:
51600+ - apiKeyAuth: []
51601+ appKeyAuth: []
51602+ - AuthZ:
51603+ - org_management
5135251604 summary: Post an AWS on demand task
5135351605 tags:
5135451606 - Agentless Scanning
@@ -51378,6 +51630,11 @@ paths:
5137851630 $ref: '#/components/responses/NotFoundResponse'
5137951631 '429':
5138051632 $ref: '#/components/responses/TooManyRequestsResponse'
51633+ security:
51634+ - apiKeyAuth: []
51635+ appKeyAuth: []
51636+ - AuthZ:
51637+ - security_monitoring_findings_read
5138151638 summary: Get AWS On Demand task by id
5138251639 tags:
5138351640 - Agentless Scanning
0 commit comments