@@ -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: Azure scan options resource type.
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.
@@ -51194,6 +51303,11 @@ paths:
5119451303 $ref: '#/components/responses/NotAuthorizedResponse'
5119551304 '429':
5119651305 $ref: '#/components/responses/TooManyRequestsResponse'
51306+ security:
51307+ - apiKeyAuth: []
51308+ appKeyAuth: []
51309+ - AuthZ:
51310+ - security_monitoring_findings_read
5119751311 summary: List AWS Scan Options
5119851312 tags:
5119951313 - Agentless Scanning
@@ -51222,6 +51336,11 @@ paths:
5122251336 $ref: '#/components/responses/ConflictResponse'
5122351337 '429':
5122451338 $ref: '#/components/responses/TooManyRequestsResponse'
51339+ security:
51340+ - apiKeyAuth: []
51341+ appKeyAuth: []
51342+ - AuthZ:
51343+ - org_management
5122551344 summary: Post AWS Scan Options
5122651345 tags:
5122751346 - Agentless Scanning
@@ -51243,6 +51362,11 @@ paths:
5124351362 $ref: '#/components/responses/NotFoundResponse'
5124451363 '429':
5124551364 $ref: '#/components/responses/TooManyRequestsResponse'
51365+ security:
51366+ - apiKeyAuth: []
51367+ appKeyAuth: []
51368+ - AuthZ:
51369+ - org_management
5124651370 summary: Delete AWS Scan Options
5124751371 tags:
5124851372 - Agentless Scanning
@@ -51266,6 +51390,11 @@ paths:
5126651390 $ref: '#/components/responses/NotFoundResponse'
5126751391 '429':
5126851392 $ref: '#/components/responses/TooManyRequestsResponse'
51393+ security:
51394+ - apiKeyAuth: []
51395+ appKeyAuth: []
51396+ - AuthZ:
51397+ - security_monitoring_findings_read
5126951398 summary: Get AWS scan options
5127051399 tags:
5127151400 - Agentless Scanning
@@ -51292,10 +51421,117 @@ paths:
5129251421 $ref: '#/components/responses/NotFoundResponse'
5129351422 '429':
5129451423 $ref: '#/components/responses/TooManyRequestsResponse'
51424+ security:
51425+ - apiKeyAuth: []
51426+ appKeyAuth: []
51427+ - AuthZ:
51428+ - org_management
5129551429 summary: Patch AWS Scan Options
5129651430 tags:
5129751431 - Agentless Scanning
5129851432 x-codegen-request-body-name: body
51433+ /api/v2/agentless_scanning/accounts/azure:
51434+ get:
51435+ description: Fetches the scan options configured for Azure accounts.
51436+ operationId: ListAzureScanOptions
51437+ responses:
51438+ '200':
51439+ content:
51440+ application/json:
51441+ schema:
51442+ $ref: '#/components/schemas/AzureScanOptionsArray'
51443+ description: OK
51444+ '429':
51445+ $ref: '#/components/responses/TooManyRequestsResponse'
51446+ security:
51447+ - apiKeyAuth: []
51448+ appKeyAuth: []
51449+ - AuthZ:
51450+ - security_monitoring_findings_read
51451+ summary: List azure scan options
51452+ tags:
51453+ - Agentless Scanning
51454+ post:
51455+ description: Activate Agentless scan options for an Azure account.
51456+ operationId: CreateAzureScanOptions
51457+ requestBody:
51458+ content:
51459+ application/json:
51460+ schema:
51461+ $ref: '#/components/schemas/AzureScanOptions'
51462+ required: true
51463+ responses:
51464+ '201':
51465+ content:
51466+ application/json:
51467+ schema:
51468+ $ref: '#/components/schemas/AzureScanOptions'
51469+ description: Created
51470+ '429':
51471+ $ref: '#/components/responses/TooManyRequestsResponse'
51472+ security:
51473+ - apiKeyAuth: []
51474+ appKeyAuth: []
51475+ - AuthZ:
51476+ - org_management
51477+ summary: Create azure scan options
51478+ tags:
51479+ - Agentless Scanning
51480+ /api/v2/agentless_scanning/accounts/azure/{subscription_id}:
51481+ delete:
51482+ description: Delete Agentless scan options for an Azure account.
51483+ operationId: DeleteAzureScanOptions
51484+ parameters:
51485+ - description: The Azure subscription ID.
51486+ in: path
51487+ name: subscription_id
51488+ required: true
51489+ schema:
51490+ example: 12345678-90ab-cdef-1234-567890abcdef
51491+ type: string
51492+ responses:
51493+ '204':
51494+ description: No Content
51495+ '429':
51496+ $ref: '#/components/responses/TooManyRequestsResponse'
51497+ security:
51498+ - apiKeyAuth: []
51499+ appKeyAuth: []
51500+ - AuthZ:
51501+ - org_management
51502+ summary: Delete azure scan options
51503+ tags:
51504+ - Agentless Scanning
51505+ patch:
51506+ description: Update the Agentless scan options for an activated account.
51507+ operationId: UpdateAzureScanOptions
51508+ parameters:
51509+ - description: The Azure subscription ID.
51510+ in: path
51511+ name: subscription_id
51512+ required: true
51513+ schema:
51514+ example: 12345678-90ab-cdef-1234-567890abcdef
51515+ type: string
51516+ requestBody:
51517+ content:
51518+ application/json:
51519+ schema:
51520+ $ref: '#/components/schemas/AzureScanOptionsInputUpdate'
51521+ required: true
51522+ responses:
51523+ '204':
51524+ description: No Content
51525+ '429':
51526+ $ref: '#/components/responses/TooManyRequestsResponse'
51527+ security:
51528+ - apiKeyAuth: []
51529+ appKeyAuth: []
51530+ - AuthZ:
51531+ - org_management
51532+ summary: Update azure scan options
51533+ tags:
51534+ - Agentless Scanning
5129951535 /api/v2/agentless_scanning/ondemand/aws:
5130051536 get:
5130151537 description: Fetches the most recent 1000 AWS on demand tasks.
@@ -51311,6 +51547,11 @@ paths:
5131151547 $ref: '#/components/responses/NotAuthorizedResponse'
5131251548 '429':
5131351549 $ref: '#/components/responses/TooManyRequestsResponse'
51550+ security:
51551+ - apiKeyAuth: []
51552+ appKeyAuth: []
51553+ - AuthZ:
51554+ - security_monitoring_findings_read
5131451555 summary: Get AWS On Demand tasks
5131551556 tags:
5131651557 - Agentless Scanning
@@ -51343,6 +51584,11 @@ paths:
5134351584 $ref: '#/components/responses/NotAuthorizedResponse'
5134451585 '429':
5134551586 $ref: '#/components/responses/TooManyRequestsResponse'
51587+ security:
51588+ - apiKeyAuth: []
51589+ appKeyAuth: []
51590+ - AuthZ:
51591+ - org_management
5134651592 summary: Post an AWS on demand task
5134751593 tags:
5134851594 - Agentless Scanning
@@ -51372,6 +51618,11 @@ paths:
5137251618 $ref: '#/components/responses/NotFoundResponse'
5137351619 '429':
5137451620 $ref: '#/components/responses/TooManyRequestsResponse'
51621+ security:
51622+ - apiKeyAuth: []
51623+ appKeyAuth: []
51624+ - AuthZ:
51625+ - security_monitoring_findings_read
5137551626 summary: Get AWS On Demand task by id
5137651627 tags:
5137751628 - Agentless Scanning
0 commit comments