@@ -5879,6 +5879,115 @@ components:
5879
5879
required:
5880
5880
- type
5881
5881
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
5882
5991
AzureStorageDestination:
5883
5992
description: The `azure_storage` destination forwards logs to an Azure Blob
5884
5993
Storage container.
@@ -51200,6 +51309,11 @@ paths:
51200
51309
$ref: '#/components/responses/NotAuthorizedResponse'
51201
51310
'429':
51202
51311
$ref: '#/components/responses/TooManyRequestsResponse'
51312
+ security:
51313
+ - apiKeyAuth: []
51314
+ appKeyAuth: []
51315
+ - AuthZ:
51316
+ - security_monitoring_findings_read
51203
51317
summary: List AWS Scan Options
51204
51318
tags:
51205
51319
- Agentless Scanning
@@ -51228,6 +51342,11 @@ paths:
51228
51342
$ref: '#/components/responses/ConflictResponse'
51229
51343
'429':
51230
51344
$ref: '#/components/responses/TooManyRequestsResponse'
51345
+ security:
51346
+ - apiKeyAuth: []
51347
+ appKeyAuth: []
51348
+ - AuthZ:
51349
+ - org_management
51231
51350
summary: Post AWS Scan Options
51232
51351
tags:
51233
51352
- Agentless Scanning
@@ -51249,6 +51368,11 @@ paths:
51249
51368
$ref: '#/components/responses/NotFoundResponse'
51250
51369
'429':
51251
51370
$ref: '#/components/responses/TooManyRequestsResponse'
51371
+ security:
51372
+ - apiKeyAuth: []
51373
+ appKeyAuth: []
51374
+ - AuthZ:
51375
+ - org_management
51252
51376
summary: Delete AWS Scan Options
51253
51377
tags:
51254
51378
- Agentless Scanning
@@ -51272,6 +51396,11 @@ paths:
51272
51396
$ref: '#/components/responses/NotFoundResponse'
51273
51397
'429':
51274
51398
$ref: '#/components/responses/TooManyRequestsResponse'
51399
+ security:
51400
+ - apiKeyAuth: []
51401
+ appKeyAuth: []
51402
+ - AuthZ:
51403
+ - security_monitoring_findings_read
51275
51404
summary: Get AWS scan options
51276
51405
tags:
51277
51406
- Agentless Scanning
@@ -51298,10 +51427,123 @@ paths:
51298
51427
$ref: '#/components/responses/NotFoundResponse'
51299
51428
'429':
51300
51429
$ref: '#/components/responses/TooManyRequestsResponse'
51430
+ security:
51431
+ - apiKeyAuth: []
51432
+ appKeyAuth: []
51433
+ - AuthZ:
51434
+ - org_management
51301
51435
summary: Patch AWS Scan Options
51302
51436
tags:
51303
51437
- Agentless Scanning
51304
51438
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
51305
51547
/api/v2/agentless_scanning/ondemand/aws:
51306
51548
get:
51307
51549
description: Fetches the most recent 1000 AWS on demand tasks.
@@ -51317,6 +51559,11 @@ paths:
51317
51559
$ref: '#/components/responses/NotAuthorizedResponse'
51318
51560
'429':
51319
51561
$ref: '#/components/responses/TooManyRequestsResponse'
51562
+ security:
51563
+ - apiKeyAuth: []
51564
+ appKeyAuth: []
51565
+ - AuthZ:
51566
+ - security_monitoring_findings_read
51320
51567
summary: Get AWS On Demand tasks
51321
51568
tags:
51322
51569
- Agentless Scanning
@@ -51349,6 +51596,11 @@ paths:
51349
51596
$ref: '#/components/responses/NotAuthorizedResponse'
51350
51597
'429':
51351
51598
$ref: '#/components/responses/TooManyRequestsResponse'
51599
+ security:
51600
+ - apiKeyAuth: []
51601
+ appKeyAuth: []
51602
+ - AuthZ:
51603
+ - org_management
51352
51604
summary: Post an AWS on demand task
51353
51605
tags:
51354
51606
- Agentless Scanning
@@ -51378,6 +51630,11 @@ paths:
51378
51630
$ref: '#/components/responses/NotFoundResponse'
51379
51631
'429':
51380
51632
$ref: '#/components/responses/TooManyRequestsResponse'
51633
+ security:
51634
+ - apiKeyAuth: []
51635
+ appKeyAuth: []
51636
+ - AuthZ:
51637
+ - security_monitoring_findings_read
51381
51638
summary: Get AWS On Demand task by id
51382
51639
tags:
51383
51640
- Agentless Scanning
0 commit comments