Class AgentlessScanningApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate AWS on demand task.Create AWS on demand task.Trigger the scan of an AWS resource with a high priority.Create AWS on demand task.Create AWS scan options.Create AWS scan options.Activate Agentless scan options for an AWS account.Create AWS scan options.Create Azure scan options.Create Azure scan options.Activate Agentless scan options for an Azure subscription.Create Azure scan options.Create GCP scan options.Create GCP scan options.Activate Agentless scan options for a GCP project.Create GCP scan options.voiddeleteAwsScanOptions(String accountId) Delete AWS scan options.deleteAwsScanOptionsAsync(String accountId) Delete AWS scan options.deleteAwsScanOptionsWithHttpInfo(String accountId) Delete Agentless scan options for an AWS account.deleteAwsScanOptionsWithHttpInfoAsync(String accountId) Delete AWS scan options.voiddeleteAzureScanOptions(String subscriptionId) Delete Azure scan options.deleteAzureScanOptionsAsync(String subscriptionId) Delete Azure scan options.deleteAzureScanOptionsWithHttpInfo(String subscriptionId) Delete Agentless scan options for an Azure subscription.deleteAzureScanOptionsWithHttpInfoAsync(String subscriptionId) Delete Azure scan options.voiddeleteGcpScanOptions(String projectId) Delete GCP scan options.deleteGcpScanOptionsAsync(String projectId) Delete GCP scan options.deleteGcpScanOptionsWithHttpInfo(String projectId) Delete Agentless scan options for a GCP project.deleteGcpScanOptionsWithHttpInfoAsync(String projectId) Delete GCP scan options.Get the API client.getAwsOnDemandTask(String taskId) Get AWS on demand task.getAwsOnDemandTaskAsync(String taskId) Get AWS on demand task.getAwsOnDemandTaskWithHttpInfo(String taskId) Fetch the data of a specific on demand task.Get AWS on demand task.getAwsScanOptions(String accountId) Get AWS scan options.getAwsScanOptionsAsync(String accountId) Get AWS scan options.getAwsScanOptionsWithHttpInfo(String accountId) Fetches the Agentless scan options for an activated account.getAwsScanOptionsWithHttpInfoAsync(String accountId) Get AWS scan options.getAzureScanOptions(String subscriptionId) Get Azure scan options.getAzureScanOptionsAsync(String subscriptionId) Get Azure scan options.getAzureScanOptionsWithHttpInfo(String subscriptionId) Fetches the Agentless scan options for an activated subscription.getAzureScanOptionsWithHttpInfoAsync(String subscriptionId) Get Azure scan options.getGcpScanOptions(String projectId) Get GCP scan options.getGcpScanOptionsAsync(String projectId) Get GCP scan options.getGcpScanOptionsWithHttpInfo(String projectId) Fetches the Agentless scan options for an activated GCP project.getGcpScanOptionsWithHttpInfoAsync(String projectId) Get GCP scan options.List AWS on demand tasks.List AWS on demand tasks.Fetches the most recent 1000 AWS on demand tasks.List AWS on demand tasks.List AWS scan options.List AWS scan options.Fetches the scan options configured for AWS accounts.List AWS scan options.List Azure scan options.List Azure scan options.Fetches the scan options configured for Azure accounts.List Azure scan options.List GCP scan options.List GCP scan options.Fetches the scan options configured for all GCP projects.List GCP scan options.voidsetApiClient(ApiClient apiClient) Set the API client.voidupdateAwsScanOptions(String accountId, AwsScanOptionsUpdateRequest body) Update AWS scan options.updateAwsScanOptionsAsync(String accountId, AwsScanOptionsUpdateRequest body) Update AWS scan options.updateAwsScanOptionsWithHttpInfo(String accountId, AwsScanOptionsUpdateRequest body) Update the Agentless scan options for an activated account.updateAwsScanOptionsWithHttpInfoAsync(String accountId, AwsScanOptionsUpdateRequest body) Update AWS scan options.updateAzureScanOptions(String subscriptionId, AzureScanOptionsInputUpdate body) Update Azure scan options.updateAzureScanOptionsAsync(String subscriptionId, AzureScanOptionsInputUpdate body) Update Azure scan options.updateAzureScanOptionsWithHttpInfo(String subscriptionId, AzureScanOptionsInputUpdate body) Update the Agentless scan options for an activated subscription.updateAzureScanOptionsWithHttpInfoAsync(String subscriptionId, AzureScanOptionsInputUpdate body) Update Azure scan options.updateGcpScanOptions(String projectId, GcpScanOptionsInputUpdate body) Update GCP scan options.updateGcpScanOptionsAsync(String projectId, GcpScanOptionsInputUpdate body) Update GCP scan options.updateGcpScanOptionsWithHttpInfo(String projectId, GcpScanOptionsInputUpdate body) Update the Agentless scan options for an activated GCP project.updateGcpScanOptionsWithHttpInfoAsync(String projectId, GcpScanOptionsInputUpdate body) Update GCP scan options.
-
Constructor Details
-
AgentlessScanningApi
public AgentlessScanningApi() -
AgentlessScanningApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createAwsOnDemandTask
Create AWS on demand task.See
createAwsOnDemandTaskWithHttpInfo(com.datadog.api.client.v2.model.AwsOnDemandCreateRequest).- Parameters:
body- The definition of the on demand task. (required)- Returns:
- AwsOnDemandResponse
- Throws:
ApiException- if fails to make API call
-
createAwsOnDemandTaskAsync
public CompletableFuture<AwsOnDemandResponse> createAwsOnDemandTaskAsync(AwsOnDemandCreateRequest body) Create AWS on demand task.See
createAwsOnDemandTaskWithHttpInfoAsync(com.datadog.api.client.v2.model.AwsOnDemandCreateRequest).- Parameters:
body- The definition of the on demand task. (required)- Returns:
- CompletableFuture<AwsOnDemandResponse>
-
createAwsOnDemandTaskWithHttpInfo
public ApiResponse<AwsOnDemandResponse> createAwsOnDemandTaskWithHttpInfo(AwsOnDemandCreateRequest body) throws ApiException Trigger the scan of an AWS resource with a high priority. Agentless scanning must be activated for the AWS account containing the resource to scan.- Parameters:
body- The definition of the on demand task. (required)- Returns:
- ApiResponse<AwsOnDemandResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 AWS on demand task created successfully. - 400 Bad Request - 403 Not Authorized - 429 Too many requests -
-
createAwsOnDemandTaskWithHttpInfoAsync
public CompletableFuture<ApiResponse<AwsOnDemandResponse>> createAwsOnDemandTaskWithHttpInfoAsync(AwsOnDemandCreateRequest body) Create AWS on demand task.See
createAwsOnDemandTaskWithHttpInfo(com.datadog.api.client.v2.model.AwsOnDemandCreateRequest).- Parameters:
body- The definition of the on demand task. (required)- Returns:
- CompletableFuture<ApiResponse<AwsOnDemandResponse>>
-
createAwsScanOptions
public AwsScanOptionsResponse createAwsScanOptions(AwsScanOptionsCreateRequest body) throws ApiException Create AWS scan options.See
createAwsScanOptionsWithHttpInfo(com.datadog.api.client.v2.model.AwsScanOptionsCreateRequest).- Parameters:
body- The definition of the new scan options. (required)- Returns:
- AwsScanOptionsResponse
- Throws:
ApiException- if fails to make API call
-
createAwsScanOptionsAsync
public CompletableFuture<AwsScanOptionsResponse> createAwsScanOptionsAsync(AwsScanOptionsCreateRequest body) Create AWS scan options.See
createAwsScanOptionsWithHttpInfoAsync(com.datadog.api.client.v2.model.AwsScanOptionsCreateRequest).- Parameters:
body- The definition of the new scan options. (required)- Returns:
- CompletableFuture<AwsScanOptionsResponse>
-
createAwsScanOptionsWithHttpInfo
public ApiResponse<AwsScanOptionsResponse> createAwsScanOptionsWithHttpInfo(AwsScanOptionsCreateRequest body) throws ApiException Activate Agentless scan options for an AWS account.- Parameters:
body- The definition of the new scan options. (required)- Returns:
- ApiResponse<AwsScanOptionsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Agentless scan options enabled successfully. - 400 Bad Request - 403 Not Authorized - 409 Conflict - 429 Too many requests -
-
createAwsScanOptionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<AwsScanOptionsResponse>> createAwsScanOptionsWithHttpInfoAsync(AwsScanOptionsCreateRequest body) Create AWS scan options.See
createAwsScanOptionsWithHttpInfo(com.datadog.api.client.v2.model.AwsScanOptionsCreateRequest).- Parameters:
body- The definition of the new scan options. (required)- Returns:
- CompletableFuture<ApiResponse<AwsScanOptionsResponse>>
-
createAzureScanOptions
Create Azure scan options.See
createAzureScanOptionsWithHttpInfo(com.datadog.api.client.v2.model.AzureScanOptions).- Parameters:
body- (required)- Returns:
- AzureScanOptions
- Throws:
ApiException- if fails to make API call
-
createAzureScanOptionsAsync
Create Azure scan options.See
createAzureScanOptionsWithHttpInfoAsync(com.datadog.api.client.v2.model.AzureScanOptions).- Parameters:
body- (required)- Returns:
- CompletableFuture<AzureScanOptions>
-
createAzureScanOptionsWithHttpInfo
public ApiResponse<AzureScanOptions> createAzureScanOptionsWithHttpInfo(AzureScanOptions body) throws ApiException Activate Agentless scan options for an Azure subscription.- Parameters:
body- (required)- Returns:
- ApiResponse<AzureScanOptions>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 429 Too many requests -
-
createAzureScanOptionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<AzureScanOptions>> createAzureScanOptionsWithHttpInfoAsync(AzureScanOptions body) Create Azure scan options.See
createAzureScanOptionsWithHttpInfo(com.datadog.api.client.v2.model.AzureScanOptions).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<AzureScanOptions>>
-
createGcpScanOptions
Create GCP scan options.See
createGcpScanOptionsWithHttpInfo(com.datadog.api.client.v2.model.GcpScanOptions).- Parameters:
body- The definition of the new scan options. (required)- Returns:
- GcpScanOptions
- Throws:
ApiException- if fails to make API call
-
createGcpScanOptionsAsync
Create GCP scan options.See
createGcpScanOptionsWithHttpInfoAsync(com.datadog.api.client.v2.model.GcpScanOptions).- Parameters:
body- The definition of the new scan options. (required)- Returns:
- CompletableFuture<GcpScanOptions>
-
createGcpScanOptionsWithHttpInfo
public ApiResponse<GcpScanOptions> createGcpScanOptionsWithHttpInfo(GcpScanOptions body) throws ApiException Activate Agentless scan options for a GCP project.- Parameters:
body- The definition of the new scan options. (required)- Returns:
- ApiResponse<GcpScanOptions>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Agentless scan options enabled successfully. - 400 Bad Request - 403 Not Authorized - 409 Conflict - 429 Too many requests -
-
createGcpScanOptionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<GcpScanOptions>> createGcpScanOptionsWithHttpInfoAsync(GcpScanOptions body) Create GCP scan options.See
createGcpScanOptionsWithHttpInfo(com.datadog.api.client.v2.model.GcpScanOptions).- Parameters:
body- The definition of the new scan options. (required)- Returns:
- CompletableFuture<ApiResponse<GcpScanOptions>>
-
deleteAwsScanOptions
Delete AWS scan options.- Parameters:
accountId- The ID of an AWS account. (required)- Throws:
ApiException- if fails to make API call
-
deleteAwsScanOptionsAsync
Delete AWS scan options.See
deleteAwsScanOptionsWithHttpInfoAsync(java.lang.String).- Parameters:
accountId- The ID of an AWS account. (required)- Returns:
- CompletableFuture
-
deleteAwsScanOptionsWithHttpInfo
Delete Agentless scan options for an AWS account.- Parameters:
accountId- The ID of an AWS account. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
deleteAwsScanOptionsWithHttpInfoAsync
Delete AWS scan options.- Parameters:
accountId- The ID of an AWS account. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteAzureScanOptions
Delete Azure scan options.- Parameters:
subscriptionId- The Azure subscription ID. (required)- Throws:
ApiException- if fails to make API call
-
deleteAzureScanOptionsAsync
Delete Azure scan options.See
deleteAzureScanOptionsWithHttpInfoAsync(java.lang.String).- Parameters:
subscriptionId- The Azure subscription ID. (required)- Returns:
- CompletableFuture
-
deleteAzureScanOptionsWithHttpInfo
public ApiResponse<Void> deleteAzureScanOptionsWithHttpInfo(String subscriptionId) throws ApiException Delete Agentless scan options for an Azure subscription.- Parameters:
subscriptionId- The Azure subscription ID. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 429 Too many requests -
-
deleteAzureScanOptionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteAzureScanOptionsWithHttpInfoAsync(String subscriptionId) Delete Azure scan options.- Parameters:
subscriptionId- The Azure subscription ID. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteGcpScanOptions
Delete GCP scan options.- Parameters:
projectId- The GCP project ID. (required)- Throws:
ApiException- if fails to make API call
-
deleteGcpScanOptionsAsync
Delete GCP scan options.See
deleteGcpScanOptionsWithHttpInfoAsync(java.lang.String).- Parameters:
projectId- The GCP project ID. (required)- Returns:
- CompletableFuture
-
deleteGcpScanOptionsWithHttpInfo
Delete Agentless scan options for a GCP project.- Parameters:
projectId- The GCP project ID. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
deleteGcpScanOptionsWithHttpInfoAsync
Delete GCP scan options.- Parameters:
projectId- The GCP project ID. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getAwsOnDemandTask
Get AWS on demand task.- Parameters:
taskId- The UUID of the task. (required)- Returns:
- AwsOnDemandResponse
- Throws:
ApiException- if fails to make API call
-
getAwsOnDemandTaskAsync
Get AWS on demand task.- Parameters:
taskId- The UUID of the task. (required)- Returns:
- CompletableFuture<AwsOnDemandResponse>
-
getAwsOnDemandTaskWithHttpInfo
public ApiResponse<AwsOnDemandResponse> getAwsOnDemandTaskWithHttpInfo(String taskId) throws ApiException Fetch the data of a specific on demand task.- Parameters:
taskId- The UUID of the task. (required)- Returns:
- ApiResponse<AwsOnDemandResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK. - 400 Bad Request - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
getAwsOnDemandTaskWithHttpInfoAsync
public CompletableFuture<ApiResponse<AwsOnDemandResponse>> getAwsOnDemandTaskWithHttpInfoAsync(String taskId) Get AWS on demand task.- Parameters:
taskId- The UUID of the task. (required)- Returns:
- CompletableFuture<ApiResponse<AwsOnDemandResponse>>
-
getAwsScanOptions
Get AWS scan options.- Parameters:
accountId- The ID of an AWS account. (required)- Returns:
- AwsScanOptionsResponse
- Throws:
ApiException- if fails to make API call
-
getAwsScanOptionsAsync
Get AWS scan options.- Parameters:
accountId- The ID of an AWS account. (required)- Returns:
- CompletableFuture<AwsScanOptionsResponse>
-
getAwsScanOptionsWithHttpInfo
public ApiResponse<AwsScanOptionsResponse> getAwsScanOptionsWithHttpInfo(String accountId) throws ApiException Fetches the Agentless scan options for an activated account.- Parameters:
accountId- The ID of an AWS account. (required)- Returns:
- ApiResponse<AwsScanOptionsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
getAwsScanOptionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<AwsScanOptionsResponse>> getAwsScanOptionsWithHttpInfoAsync(String accountId) Get AWS scan options.- Parameters:
accountId- The ID of an AWS account. (required)- Returns:
- CompletableFuture<ApiResponse<AwsScanOptionsResponse>>
-
getAzureScanOptions
Get Azure scan options.- Parameters:
subscriptionId- The Azure subscription ID. (required)- Returns:
- AzureScanOptions
- Throws:
ApiException- if fails to make API call
-
getAzureScanOptionsAsync
Get Azure scan options.- Parameters:
subscriptionId- The Azure subscription ID. (required)- Returns:
- CompletableFuture<AzureScanOptions>
-
getAzureScanOptionsWithHttpInfo
public ApiResponse<AzureScanOptions> getAzureScanOptionsWithHttpInfo(String subscriptionId) throws ApiException Fetches the Agentless scan options for an activated subscription.- Parameters:
subscriptionId- The Azure subscription ID. (required)- Returns:
- ApiResponse<AzureScanOptions>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
getAzureScanOptionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<AzureScanOptions>> getAzureScanOptionsWithHttpInfoAsync(String subscriptionId) Get Azure scan options.- Parameters:
subscriptionId- The Azure subscription ID. (required)- Returns:
- CompletableFuture<ApiResponse<AzureScanOptions>>
-
getGcpScanOptions
Get GCP scan options.- Parameters:
projectId- The GCP project ID. (required)- Returns:
- GcpScanOptions
- Throws:
ApiException- if fails to make API call
-
getGcpScanOptionsAsync
Get GCP scan options.- Parameters:
projectId- The GCP project ID. (required)- Returns:
- CompletableFuture<GcpScanOptions>
-
getGcpScanOptionsWithHttpInfo
public ApiResponse<GcpScanOptions> getGcpScanOptionsWithHttpInfo(String projectId) throws ApiException Fetches the Agentless scan options for an activated GCP project.- Parameters:
projectId- The GCP project ID. (required)- Returns:
- ApiResponse<GcpScanOptions>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
getGcpScanOptionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<GcpScanOptions>> getGcpScanOptionsWithHttpInfoAsync(String projectId) Get GCP scan options.- Parameters:
projectId- The GCP project ID. (required)- Returns:
- CompletableFuture<ApiResponse<GcpScanOptions>>
-
listAwsOnDemandTasks
List AWS on demand tasks.- Returns:
- AwsOnDemandListResponse
- Throws:
ApiException- if fails to make API call
-
listAwsOnDemandTasksAsync
List AWS on demand tasks.- Returns:
- CompletableFuture<AwsOnDemandListResponse>
-
listAwsOnDemandTasksWithHttpInfo
Fetches the most recent 1000 AWS on demand tasks.- Returns:
- ApiResponse<AwsOnDemandListResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Not Authorized - 429 Too many requests -
-
listAwsOnDemandTasksWithHttpInfoAsync
public CompletableFuture<ApiResponse<AwsOnDemandListResponse>> listAwsOnDemandTasksWithHttpInfoAsync()List AWS on demand tasks.- Returns:
- CompletableFuture<ApiResponse<AwsOnDemandListResponse>>
-
listAwsScanOptions
List AWS scan options.- Returns:
- AwsScanOptionsListResponse
- Throws:
ApiException- if fails to make API call
-
listAwsScanOptionsAsync
List AWS scan options.- Returns:
- CompletableFuture<AwsScanOptionsListResponse>
-
listAwsScanOptionsWithHttpInfo
Fetches the scan options configured for AWS accounts.- Returns:
- ApiResponse<AwsScanOptionsListResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Not Authorized - 429 Too many requests -
-
listAwsScanOptionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<AwsScanOptionsListResponse>> listAwsScanOptionsWithHttpInfoAsync()List AWS scan options.- Returns:
- CompletableFuture<ApiResponse<AwsScanOptionsListResponse>>
-
listAzureScanOptions
List Azure scan options.- Returns:
- AzureScanOptionsArray
- Throws:
ApiException- if fails to make API call
-
listAzureScanOptionsAsync
List Azure scan options.- Returns:
- CompletableFuture<AzureScanOptionsArray>
-
listAzureScanOptionsWithHttpInfo
Fetches the scan options configured for Azure accounts.- Returns:
- ApiResponse<AzureScanOptionsArray>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 429 Too many requests -
-
listAzureScanOptionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<AzureScanOptionsArray>> listAzureScanOptionsWithHttpInfoAsync()List Azure scan options.- Returns:
- CompletableFuture<ApiResponse<AzureScanOptionsArray>>
-
listGcpScanOptions
List GCP scan options.- Returns:
- GcpScanOptionsArray
- Throws:
ApiException- if fails to make API call
-
listGcpScanOptionsAsync
List GCP scan options.- Returns:
- CompletableFuture<GcpScanOptionsArray>
-
listGcpScanOptionsWithHttpInfo
Fetches the scan options configured for all GCP projects.- Returns:
- ApiResponse<GcpScanOptionsArray>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Not Authorized - 429 Too many requests -
-
listGcpScanOptionsWithHttpInfoAsync
List GCP scan options.- Returns:
- CompletableFuture<ApiResponse<GcpScanOptionsArray>>
-
updateAwsScanOptions
public void updateAwsScanOptions(String accountId, AwsScanOptionsUpdateRequest body) throws ApiException Update AWS scan options.- Parameters:
accountId- The ID of an AWS account. (required)body- New definition of the scan options. (required)- Throws:
ApiException- if fails to make API call
-
updateAwsScanOptionsAsync
public CompletableFuture<Void> updateAwsScanOptionsAsync(String accountId, AwsScanOptionsUpdateRequest body) Update AWS scan options.- Parameters:
accountId- The ID of an AWS account. (required)body- New definition of the scan options. (required)- Returns:
- CompletableFuture
-
updateAwsScanOptionsWithHttpInfo
public ApiResponse<Void> updateAwsScanOptionsWithHttpInfo(String accountId, AwsScanOptionsUpdateRequest body) throws ApiException Update the Agentless scan options for an activated account.- Parameters:
accountId- The ID of an AWS account. (required)body- New definition of the scan options. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
updateAwsScanOptionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> updateAwsScanOptionsWithHttpInfoAsync(String accountId, AwsScanOptionsUpdateRequest body) Update AWS scan options.- Parameters:
accountId- The ID of an AWS account. (required)body- New definition of the scan options. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
updateAzureScanOptions
public AzureScanOptions updateAzureScanOptions(String subscriptionId, AzureScanOptionsInputUpdate body) throws ApiException Update Azure scan options.- Parameters:
subscriptionId- The Azure subscription ID. (required)body- (required)- Returns:
- AzureScanOptions
- Throws:
ApiException- if fails to make API call
-
updateAzureScanOptionsAsync
public CompletableFuture<AzureScanOptions> updateAzureScanOptionsAsync(String subscriptionId, AzureScanOptionsInputUpdate body) Update Azure scan options.- Parameters:
subscriptionId- The Azure subscription ID. (required)body- (required)- Returns:
- CompletableFuture<AzureScanOptions>
-
updateAzureScanOptionsWithHttpInfo
public ApiResponse<AzureScanOptions> updateAzureScanOptionsWithHttpInfo(String subscriptionId, AzureScanOptionsInputUpdate body) throws ApiException Update the Agentless scan options for an activated subscription.- Parameters:
subscriptionId- The Azure subscription ID. (required)body- (required)- Returns:
- ApiResponse<AzureScanOptions>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 429 Too many requests -
-
updateAzureScanOptionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<AzureScanOptions>> updateAzureScanOptionsWithHttpInfoAsync(String subscriptionId, AzureScanOptionsInputUpdate body) Update Azure scan options.- Parameters:
subscriptionId- The Azure subscription ID. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<AzureScanOptions>>
-
updateGcpScanOptions
public GcpScanOptions updateGcpScanOptions(String projectId, GcpScanOptionsInputUpdate body) throws ApiException Update GCP scan options.- Parameters:
projectId- The GCP project ID. (required)body- New definition of the scan options. (required)- Returns:
- GcpScanOptions
- Throws:
ApiException- if fails to make API call
-
updateGcpScanOptionsAsync
public CompletableFuture<GcpScanOptions> updateGcpScanOptionsAsync(String projectId, GcpScanOptionsInputUpdate body) Update GCP scan options.- Parameters:
projectId- The GCP project ID. (required)body- New definition of the scan options. (required)- Returns:
- CompletableFuture<GcpScanOptions>
-
updateGcpScanOptionsWithHttpInfo
public ApiResponse<GcpScanOptions> updateGcpScanOptionsWithHttpInfo(String projectId, GcpScanOptionsInputUpdate body) throws ApiException Update the Agentless scan options for an activated GCP project.- Parameters:
projectId- The GCP project ID. (required)body- New definition of the scan options. (required)- Returns:
- ApiResponse<GcpScanOptions>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
updateGcpScanOptionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<GcpScanOptions>> updateGcpScanOptionsWithHttpInfoAsync(String projectId, GcpScanOptionsInputUpdate body) Update GCP scan options.- Parameters:
projectId- The GCP project ID. (required)body- New definition of the scan options. (required)- Returns:
- CompletableFuture<ApiResponse<GcpScanOptions>>
-