Class CsmThreatsApi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to deleteCSMThreatsAgentRule.static classManage optional parameters to getCSMThreatsAgentRule.static classManage optional parameters to listCSMThreatsAgentRules.static classManage optional parameters to updateCSMThreatsAgentRule. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a Workload Protection agent rule (US1-FED).Create a Workload Protection agent rule (US1-FED).Create a new agent rule with the given parameters.createCloudWorkloadSecurityAgentRuleWithHttpInfoAsync(CloudWorkloadSecurityAgentRuleCreateRequest body) Create a Workload Protection agent rule (US1-FED).Create a Workload Protection policy.Create a Workload Protection policy.Create a new Workload Protection policy with the given parameters.Create a Workload Protection policy.Create a Workload Protection agent rule.Create a Workload Protection agent rule.Create a new Workload Protection agent rule with the given parameters.Create a Workload Protection agent rule.voiddeleteCloudWorkloadSecurityAgentRule(String agentRuleId) Delete a Workload Protection agent rule (US1-FED).deleteCloudWorkloadSecurityAgentRuleAsync(String agentRuleId) Delete a Workload Protection agent rule (US1-FED).deleteCloudWorkloadSecurityAgentRuleWithHttpInfo(String agentRuleId) Delete a specific agent rule.Delete a Workload Protection agent rule (US1-FED).voiddeleteCSMThreatsAgentPolicy(String policyId) Delete a Workload Protection policy.deleteCSMThreatsAgentPolicyAsync(String policyId) Delete a Workload Protection policy.Delete a specific Workload Protection policy.Delete a Workload Protection policy.voiddeleteCSMThreatsAgentRule(String agentRuleId) Delete a Workload Protection agent rule.voiddeleteCSMThreatsAgentRule(String agentRuleId, CsmThreatsApi.DeleteCSMThreatsAgentRuleOptionalParameters parameters) Delete a Workload Protection agent rule.deleteCSMThreatsAgentRuleAsync(String agentRuleId) Delete a Workload Protection agent rule.deleteCSMThreatsAgentRuleAsync(String agentRuleId, CsmThreatsApi.DeleteCSMThreatsAgentRuleOptionalParameters parameters) Delete a Workload Protection agent rule.deleteCSMThreatsAgentRuleWithHttpInfo(String agentRuleId, CsmThreatsApi.DeleteCSMThreatsAgentRuleOptionalParameters parameters) Delete a specific Workload Protection agent rule.deleteCSMThreatsAgentRuleWithHttpInfoAsync(String agentRuleId, CsmThreatsApi.DeleteCSMThreatsAgentRuleOptionalParameters parameters) Delete a Workload Protection agent rule.Download the Workload Protection policy (US1-FED).Download the Workload Protection policy (US1-FED).The download endpoint generates a Workload Protection policy file from your currently active Workload Protection agent rules, and downloads them as a.policyfile.Download the Workload Protection policy (US1-FED).Download the Workload Protection policy.Download the Workload Protection policy.The download endpoint generates a Workload Protection policy file from your currently active Workload Protection agent rules, and downloads them as a.policyfile.Download the Workload Protection policy.Get the API client.getCloudWorkloadSecurityAgentRule(String agentRuleId) Get a Workload Protection agent rule (US1-FED).getCloudWorkloadSecurityAgentRuleAsync(String agentRuleId) Get a Workload Protection agent rule (US1-FED).getCloudWorkloadSecurityAgentRuleWithHttpInfo(String agentRuleId) Get the details of a specific agent rule.getCloudWorkloadSecurityAgentRuleWithHttpInfoAsync(String agentRuleId) Get a Workload Protection agent rule (US1-FED).getCSMThreatsAgentPolicy(String policyId) Get a Workload Protection policy.getCSMThreatsAgentPolicyAsync(String policyId) Get a Workload Protection policy.getCSMThreatsAgentPolicyWithHttpInfo(String policyId) Get the details of a specific Workload Protection policy.Get a Workload Protection policy.getCSMThreatsAgentRule(String agentRuleId) Get a Workload Protection agent rule.getCSMThreatsAgentRule(String agentRuleId, CsmThreatsApi.GetCSMThreatsAgentRuleOptionalParameters parameters) Get a Workload Protection agent rule.getCSMThreatsAgentRuleAsync(String agentRuleId) Get a Workload Protection agent rule.getCSMThreatsAgentRuleAsync(String agentRuleId, CsmThreatsApi.GetCSMThreatsAgentRuleOptionalParameters parameters) Get a Workload Protection agent rule.getCSMThreatsAgentRuleWithHttpInfo(String agentRuleId, CsmThreatsApi.GetCSMThreatsAgentRuleOptionalParameters parameters) Get the details of a specific Workload Protection agent rule.getCSMThreatsAgentRuleWithHttpInfoAsync(String agentRuleId, CsmThreatsApi.GetCSMThreatsAgentRuleOptionalParameters parameters) Get a Workload Protection agent rule.Get all Workload Protection agent rules (US1-FED).Get all Workload Protection agent rules (US1-FED).Get the list of agent rules.Get all Workload Protection agent rules (US1-FED).Get all Workload Protection policies.Get all Workload Protection policies.Get the list of Workload Protection policies.Get all Workload Protection policies.Get all Workload Protection agent rules.Get all Workload Protection agent rules.Get all Workload Protection agent rules.Get all Workload Protection agent rules.listCSMThreatsAgentRulesWithHttpInfo(CsmThreatsApi.ListCSMThreatsAgentRulesOptionalParameters parameters) Get the list of Workload Protection agent rules.listCSMThreatsAgentRulesWithHttpInfoAsync(CsmThreatsApi.ListCSMThreatsAgentRulesOptionalParameters parameters) Get all Workload Protection agent rules.voidsetApiClient(ApiClient apiClient) Set the API client.updateCloudWorkloadSecurityAgentRule(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body) Update a Workload Protection agent rule (US1-FED).updateCloudWorkloadSecurityAgentRuleAsync(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body) Update a Workload Protection agent rule (US1-FED).updateCloudWorkloadSecurityAgentRuleWithHttpInfo(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body) Update a specific agent rule.updateCloudWorkloadSecurityAgentRuleWithHttpInfoAsync(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body) Update a Workload Protection agent rule (US1-FED).Update a Workload Protection policy.updateCSMThreatsAgentPolicyAsync(String policyId, CloudWorkloadSecurityAgentPolicyUpdateRequest body) Update a Workload Protection policy.updateCSMThreatsAgentPolicyWithHttpInfo(String policyId, CloudWorkloadSecurityAgentPolicyUpdateRequest body) Update a specific Workload Protection policy.updateCSMThreatsAgentPolicyWithHttpInfoAsync(String policyId, CloudWorkloadSecurityAgentPolicyUpdateRequest body) Update a Workload Protection policy.updateCSMThreatsAgentRule(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body) Update a Workload Protection agent rule.updateCSMThreatsAgentRule(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body, CsmThreatsApi.UpdateCSMThreatsAgentRuleOptionalParameters parameters) Update a Workload Protection agent rule.updateCSMThreatsAgentRuleAsync(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body) Update a Workload Protection agent rule.updateCSMThreatsAgentRuleAsync(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body, CsmThreatsApi.UpdateCSMThreatsAgentRuleOptionalParameters parameters) Update a Workload Protection agent rule.updateCSMThreatsAgentRuleWithHttpInfo(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body, CsmThreatsApi.UpdateCSMThreatsAgentRuleOptionalParameters parameters) Update a specific Workload Protection Agent rule.updateCSMThreatsAgentRuleWithHttpInfoAsync(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body, CsmThreatsApi.UpdateCSMThreatsAgentRuleOptionalParameters parameters) Update a Workload Protection agent rule.
-
Constructor Details
-
CsmThreatsApi
public CsmThreatsApi() -
CsmThreatsApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createCloudWorkloadSecurityAgentRule
public CloudWorkloadSecurityAgentRuleResponse createCloudWorkloadSecurityAgentRule(CloudWorkloadSecurityAgentRuleCreateRequest body) throws ApiException Create a Workload Protection agent rule (US1-FED).- Parameters:
body- The definition of the new agent rule (required)- Returns:
- CloudWorkloadSecurityAgentRuleResponse
- Throws:
ApiException- if fails to make API call
-
createCloudWorkloadSecurityAgentRuleAsync
public CompletableFuture<CloudWorkloadSecurityAgentRuleResponse> createCloudWorkloadSecurityAgentRuleAsync(CloudWorkloadSecurityAgentRuleCreateRequest body) Create a Workload Protection agent rule (US1-FED).- Parameters:
body- The definition of the new agent rule (required)- Returns:
- CompletableFuture<CloudWorkloadSecurityAgentRuleResponse>
-
createCloudWorkloadSecurityAgentRuleWithHttpInfo
public ApiResponse<CloudWorkloadSecurityAgentRuleResponse> createCloudWorkloadSecurityAgentRuleWithHttpInfo(CloudWorkloadSecurityAgentRuleCreateRequest body) throws ApiException Create a new agent rule with the given parameters.Note: This endpoint should only be used for the Government (US1-FED) site.
- Parameters:
body- The definition of the new agent rule (required)- Returns:
- ApiResponse<CloudWorkloadSecurityAgentRuleResponse>
- 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 - 409 Conflict - 429 Too many requests -
-
createCloudWorkloadSecurityAgentRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentRuleResponse>> createCloudWorkloadSecurityAgentRuleWithHttpInfoAsync(CloudWorkloadSecurityAgentRuleCreateRequest body) Create a Workload Protection agent rule (US1-FED).- Parameters:
body- The definition of the new agent rule (required)- Returns:
- CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentRuleResponse>>
-
createCSMThreatsAgentPolicy
public CloudWorkloadSecurityAgentPolicyResponse createCSMThreatsAgentPolicy(CloudWorkloadSecurityAgentPolicyCreateRequest body) throws ApiException Create a Workload Protection policy.- Parameters:
body- The definition of the new Agent policy (required)- Returns:
- CloudWorkloadSecurityAgentPolicyResponse
- Throws:
ApiException- if fails to make API call
-
createCSMThreatsAgentPolicyAsync
public CompletableFuture<CloudWorkloadSecurityAgentPolicyResponse> createCSMThreatsAgentPolicyAsync(CloudWorkloadSecurityAgentPolicyCreateRequest body) Create a Workload Protection policy.- Parameters:
body- The definition of the new Agent policy (required)- Returns:
- CompletableFuture<CloudWorkloadSecurityAgentPolicyResponse>
-
createCSMThreatsAgentPolicyWithHttpInfo
public ApiResponse<CloudWorkloadSecurityAgentPolicyResponse> createCSMThreatsAgentPolicyWithHttpInfo(CloudWorkloadSecurityAgentPolicyCreateRequest body) throws ApiException Create a new Workload Protection policy with the given parameters.Note: This endpoint is not available for the Government (US1-FED) site. Please reference the (US1-FED) specific resource below.
- Parameters:
body- The definition of the new Agent policy (required)- Returns:
- ApiResponse<CloudWorkloadSecurityAgentPolicyResponse>
- 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 - 409 Conflict - 429 Too many requests -
-
createCSMThreatsAgentPolicyWithHttpInfoAsync
public CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentPolicyResponse>> createCSMThreatsAgentPolicyWithHttpInfoAsync(CloudWorkloadSecurityAgentPolicyCreateRequest body) Create a Workload Protection policy.- Parameters:
body- The definition of the new Agent policy (required)- Returns:
- CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentPolicyResponse>>
-
createCSMThreatsAgentRule
public CloudWorkloadSecurityAgentRuleResponse createCSMThreatsAgentRule(CloudWorkloadSecurityAgentRuleCreateRequest body) throws ApiException Create a Workload Protection agent rule.- Parameters:
body- The definition of the new agent rule (required)- Returns:
- CloudWorkloadSecurityAgentRuleResponse
- Throws:
ApiException- if fails to make API call
-
createCSMThreatsAgentRuleAsync
public CompletableFuture<CloudWorkloadSecurityAgentRuleResponse> createCSMThreatsAgentRuleAsync(CloudWorkloadSecurityAgentRuleCreateRequest body) Create a Workload Protection agent rule.- Parameters:
body- The definition of the new agent rule (required)- Returns:
- CompletableFuture<CloudWorkloadSecurityAgentRuleResponse>
-
createCSMThreatsAgentRuleWithHttpInfo
public ApiResponse<CloudWorkloadSecurityAgentRuleResponse> createCSMThreatsAgentRuleWithHttpInfo(CloudWorkloadSecurityAgentRuleCreateRequest body) throws ApiException Create a new Workload Protection agent rule with the given parameters.Note: This endpoint is not available for the Government (US1-FED) site. Please reference the (US1-FED) specific resource below.
- Parameters:
body- The definition of the new agent rule (required)- Returns:
- ApiResponse<CloudWorkloadSecurityAgentRuleResponse>
- 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 - 409 Conflict - 429 Too many requests -
-
createCSMThreatsAgentRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentRuleResponse>> createCSMThreatsAgentRuleWithHttpInfoAsync(CloudWorkloadSecurityAgentRuleCreateRequest body) Create a Workload Protection agent rule.- Parameters:
body- The definition of the new agent rule (required)- Returns:
- CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentRuleResponse>>
-
deleteCloudWorkloadSecurityAgentRule
Delete a Workload Protection agent rule (US1-FED).See
deleteCloudWorkloadSecurityAgentRuleWithHttpInfo(java.lang.String).- Parameters:
agentRuleId- The ID of the Agent rule (required)- Throws:
ApiException- if fails to make API call
-
deleteCloudWorkloadSecurityAgentRuleAsync
Delete a Workload Protection agent rule (US1-FED).See
deleteCloudWorkloadSecurityAgentRuleWithHttpInfoAsync(java.lang.String).- Parameters:
agentRuleId- The ID of the Agent rule (required)- Returns:
- CompletableFuture
-
deleteCloudWorkloadSecurityAgentRuleWithHttpInfo
public ApiResponse<Void> deleteCloudWorkloadSecurityAgentRuleWithHttpInfo(String agentRuleId) throws ApiException Delete a specific agent rule.Note: This endpoint should only be used for the Government (US1-FED) site.
- Parameters:
agentRuleId- The ID of the Agent rule (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 OK - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
deleteCloudWorkloadSecurityAgentRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteCloudWorkloadSecurityAgentRuleWithHttpInfoAsync(String agentRuleId) Delete a Workload Protection agent rule (US1-FED).See
deleteCloudWorkloadSecurityAgentRuleWithHttpInfo(java.lang.String).- Parameters:
agentRuleId- The ID of the Agent rule (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteCSMThreatsAgentPolicy
Delete a Workload Protection policy.See
deleteCSMThreatsAgentPolicyWithHttpInfo(java.lang.String).- Parameters:
policyId- The ID of the Agent policy (required)- Throws:
ApiException- if fails to make API call
-
deleteCSMThreatsAgentPolicyAsync
Delete a Workload Protection policy.See
deleteCSMThreatsAgentPolicyWithHttpInfoAsync(java.lang.String).- Parameters:
policyId- The ID of the Agent policy (required)- Returns:
- CompletableFuture
-
deleteCSMThreatsAgentPolicyWithHttpInfo
public ApiResponse<Void> deleteCSMThreatsAgentPolicyWithHttpInfo(String policyId) throws ApiException Delete a specific Workload Protection policy.Note: This endpoint is not available for the Government (US1-FED) site. Please reference the (US1-FED) specific resource below.
- Parameters:
policyId- The ID of the Agent policy (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 202 OK - 204 OK - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
deleteCSMThreatsAgentPolicyWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteCSMThreatsAgentPolicyWithHttpInfoAsync(String policyId) Delete a Workload Protection policy.See
deleteCSMThreatsAgentPolicyWithHttpInfo(java.lang.String).- Parameters:
policyId- The ID of the Agent policy (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteCSMThreatsAgentRule
Delete a Workload Protection agent rule.- Parameters:
agentRuleId- The ID of the Agent rule (required)- Throws:
ApiException- if fails to make API call
-
deleteCSMThreatsAgentRuleAsync
Delete a Workload Protection agent rule.- Parameters:
agentRuleId- The ID of the Agent rule (required)- Returns:
- CompletableFuture
-
deleteCSMThreatsAgentRule
public void deleteCSMThreatsAgentRule(String agentRuleId, CsmThreatsApi.DeleteCSMThreatsAgentRuleOptionalParameters parameters) throws ApiException Delete a Workload Protection agent rule.- Parameters:
agentRuleId- The ID of the Agent rule (required)parameters- Optional parameters for the request.- Throws:
ApiException- if fails to make API call
-
deleteCSMThreatsAgentRuleAsync
public CompletableFuture<Void> deleteCSMThreatsAgentRuleAsync(String agentRuleId, CsmThreatsApi.DeleteCSMThreatsAgentRuleOptionalParameters parameters) Delete a Workload Protection agent rule.- Parameters:
agentRuleId- The ID of the Agent rule (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture
-
deleteCSMThreatsAgentRuleWithHttpInfo
public ApiResponse<Void> deleteCSMThreatsAgentRuleWithHttpInfo(String agentRuleId, CsmThreatsApi.DeleteCSMThreatsAgentRuleOptionalParameters parameters) throws ApiException Delete a specific Workload Protection agent rule.Note: This endpoint is not available for the Government (US1-FED) site. Please reference the (US1-FED) specific resource below.
- Parameters:
agentRuleId- The ID of the Agent rule (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 OK - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
deleteCSMThreatsAgentRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteCSMThreatsAgentRuleWithHttpInfoAsync(String agentRuleId, CsmThreatsApi.DeleteCSMThreatsAgentRuleOptionalParameters parameters) Delete a Workload Protection agent rule.- Parameters:
agentRuleId- The ID of the Agent rule (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<Void>>
-
downloadCloudWorkloadPolicyFile
Download the Workload Protection policy (US1-FED).- Returns:
- File
- Throws:
ApiException- if fails to make API call
-
downloadCloudWorkloadPolicyFileAsync
Download the Workload Protection policy (US1-FED).- Returns:
- CompletableFuture<File>
-
downloadCloudWorkloadPolicyFileWithHttpInfo
The download endpoint generates a Workload Protection policy file from your currently active Workload Protection agent rules, and downloads them as a.policyfile. This file can then be deployed to your agents to update the policy running in your environment.Note: This endpoint should only be used for the Government (US1-FED) site.
- Returns:
- ApiResponse<File>
- 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 -
-
downloadCloudWorkloadPolicyFileWithHttpInfoAsync
Download the Workload Protection policy (US1-FED).- Returns:
- CompletableFuture<ApiResponse<File>>
-
downloadCSMThreatsPolicy
Download the Workload Protection policy.- Returns:
- File
- Throws:
ApiException- if fails to make API call
-
downloadCSMThreatsPolicyAsync
Download the Workload Protection policy.- Returns:
- CompletableFuture<File>
-
downloadCSMThreatsPolicyWithHttpInfo
The download endpoint generates a Workload Protection policy file from your currently active Workload Protection agent rules, and downloads them as a.policyfile. This file can then be deployed to your agents to update the policy running in your environment.Note: This endpoint is not available for the Government (US1-FED) site. Please reference the (US1-FED) specific resource below.
- Returns:
- ApiResponse<File>
- 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 -
-
downloadCSMThreatsPolicyWithHttpInfoAsync
Download the Workload Protection policy.- Returns:
- CompletableFuture<ApiResponse<File>>
-
getCloudWorkloadSecurityAgentRule
public CloudWorkloadSecurityAgentRuleResponse getCloudWorkloadSecurityAgentRule(String agentRuleId) throws ApiException Get a Workload Protection agent rule (US1-FED).See
getCloudWorkloadSecurityAgentRuleWithHttpInfo(java.lang.String).- Parameters:
agentRuleId- The ID of the Agent rule (required)- Returns:
- CloudWorkloadSecurityAgentRuleResponse
- Throws:
ApiException- if fails to make API call
-
getCloudWorkloadSecurityAgentRuleAsync
public CompletableFuture<CloudWorkloadSecurityAgentRuleResponse> getCloudWorkloadSecurityAgentRuleAsync(String agentRuleId) Get a Workload Protection agent rule (US1-FED).See
getCloudWorkloadSecurityAgentRuleWithHttpInfoAsync(java.lang.String).- Parameters:
agentRuleId- The ID of the Agent rule (required)- Returns:
- CompletableFuture<CloudWorkloadSecurityAgentRuleResponse>
-
getCloudWorkloadSecurityAgentRuleWithHttpInfo
public ApiResponse<CloudWorkloadSecurityAgentRuleResponse> getCloudWorkloadSecurityAgentRuleWithHttpInfo(String agentRuleId) throws ApiException Get the details of a specific agent rule.Note: This endpoint should only be used for the Government (US1-FED) site.
- Parameters:
agentRuleId- The ID of the Agent rule (required)- Returns:
- ApiResponse<CloudWorkloadSecurityAgentRuleResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
getCloudWorkloadSecurityAgentRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentRuleResponse>> getCloudWorkloadSecurityAgentRuleWithHttpInfoAsync(String agentRuleId) Get a Workload Protection agent rule (US1-FED).See
getCloudWorkloadSecurityAgentRuleWithHttpInfo(java.lang.String).- Parameters:
agentRuleId- The ID of the Agent rule (required)- Returns:
- CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentRuleResponse>>
-
getCSMThreatsAgentPolicy
public CloudWorkloadSecurityAgentPolicyResponse getCSMThreatsAgentPolicy(String policyId) throws ApiException Get a Workload Protection policy.- Parameters:
policyId- The ID of the Agent policy (required)- Returns:
- CloudWorkloadSecurityAgentPolicyResponse
- Throws:
ApiException- if fails to make API call
-
getCSMThreatsAgentPolicyAsync
public CompletableFuture<CloudWorkloadSecurityAgentPolicyResponse> getCSMThreatsAgentPolicyAsync(String policyId) Get a Workload Protection policy.See
getCSMThreatsAgentPolicyWithHttpInfoAsync(java.lang.String).- Parameters:
policyId- The ID of the Agent policy (required)- Returns:
- CompletableFuture<CloudWorkloadSecurityAgentPolicyResponse>
-
getCSMThreatsAgentPolicyWithHttpInfo
public ApiResponse<CloudWorkloadSecurityAgentPolicyResponse> getCSMThreatsAgentPolicyWithHttpInfo(String policyId) throws ApiException Get the details of a specific Workload Protection policy.Note: This endpoint is not available for the Government (US1-FED) site. Please reference the (US1-FED) specific resource below.
- Parameters:
policyId- The ID of the Agent policy (required)- Returns:
- ApiResponse<CloudWorkloadSecurityAgentPolicyResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
getCSMThreatsAgentPolicyWithHttpInfoAsync
public CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentPolicyResponse>> getCSMThreatsAgentPolicyWithHttpInfoAsync(String policyId) Get a Workload Protection policy.- Parameters:
policyId- The ID of the Agent policy (required)- Returns:
- CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentPolicyResponse>>
-
getCSMThreatsAgentRule
public CloudWorkloadSecurityAgentRuleResponse getCSMThreatsAgentRule(String agentRuleId) throws ApiException Get a Workload Protection agent rule.- Parameters:
agentRuleId- The ID of the Agent rule (required)- Returns:
- CloudWorkloadSecurityAgentRuleResponse
- Throws:
ApiException- if fails to make API call
-
getCSMThreatsAgentRuleAsync
public CompletableFuture<CloudWorkloadSecurityAgentRuleResponse> getCSMThreatsAgentRuleAsync(String agentRuleId) Get a Workload Protection agent rule.- Parameters:
agentRuleId- The ID of the Agent rule (required)- Returns:
- CompletableFuture<CloudWorkloadSecurityAgentRuleResponse>
-
getCSMThreatsAgentRule
public CloudWorkloadSecurityAgentRuleResponse getCSMThreatsAgentRule(String agentRuleId, CsmThreatsApi.GetCSMThreatsAgentRuleOptionalParameters parameters) throws ApiException Get a Workload Protection agent rule.- Parameters:
agentRuleId- The ID of the Agent rule (required)parameters- Optional parameters for the request.- Returns:
- CloudWorkloadSecurityAgentRuleResponse
- Throws:
ApiException- if fails to make API call
-
getCSMThreatsAgentRuleAsync
public CompletableFuture<CloudWorkloadSecurityAgentRuleResponse> getCSMThreatsAgentRuleAsync(String agentRuleId, CsmThreatsApi.GetCSMThreatsAgentRuleOptionalParameters parameters) Get a Workload Protection agent rule.- Parameters:
agentRuleId- The ID of the Agent rule (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<CloudWorkloadSecurityAgentRuleResponse>
-
getCSMThreatsAgentRuleWithHttpInfo
public ApiResponse<CloudWorkloadSecurityAgentRuleResponse> getCSMThreatsAgentRuleWithHttpInfo(String agentRuleId, CsmThreatsApi.GetCSMThreatsAgentRuleOptionalParameters parameters) throws ApiException Get the details of a specific Workload Protection agent rule.Note: This endpoint is not available for the Government (US1-FED) site. Please reference the (US1-FED) specific resource below.
- Parameters:
agentRuleId- The ID of the Agent rule (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<CloudWorkloadSecurityAgentRuleResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
getCSMThreatsAgentRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentRuleResponse>> getCSMThreatsAgentRuleWithHttpInfoAsync(String agentRuleId, CsmThreatsApi.GetCSMThreatsAgentRuleOptionalParameters parameters) Get a Workload Protection agent rule.- Parameters:
agentRuleId- The ID of the Agent rule (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentRuleResponse>>
-
listCloudWorkloadSecurityAgentRules
public CloudWorkloadSecurityAgentRulesListResponse listCloudWorkloadSecurityAgentRules() throws ApiExceptionGet all Workload Protection agent rules (US1-FED).- Returns:
- CloudWorkloadSecurityAgentRulesListResponse
- Throws:
ApiException- if fails to make API call
-
listCloudWorkloadSecurityAgentRulesAsync
public CompletableFuture<CloudWorkloadSecurityAgentRulesListResponse> listCloudWorkloadSecurityAgentRulesAsync()Get all Workload Protection agent rules (US1-FED).- Returns:
- CompletableFuture<CloudWorkloadSecurityAgentRulesListResponse>
-
listCloudWorkloadSecurityAgentRulesWithHttpInfo
public ApiResponse<CloudWorkloadSecurityAgentRulesListResponse> listCloudWorkloadSecurityAgentRulesWithHttpInfo() throws ApiExceptionGet the list of agent rules.Note: This endpoint should only be used for the Government (US1-FED) site.
- Returns:
- ApiResponse<CloudWorkloadSecurityAgentRulesListResponse>
- 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 -
-
listCloudWorkloadSecurityAgentRulesWithHttpInfoAsync
public CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentRulesListResponse>> listCloudWorkloadSecurityAgentRulesWithHttpInfoAsync()Get all Workload Protection agent rules (US1-FED).- Returns:
- CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentRulesListResponse>>
-
listCSMThreatsAgentPolicies
public CloudWorkloadSecurityAgentPoliciesListResponse listCSMThreatsAgentPolicies() throws ApiExceptionGet all Workload Protection policies.- Returns:
- CloudWorkloadSecurityAgentPoliciesListResponse
- Throws:
ApiException- if fails to make API call
-
listCSMThreatsAgentPoliciesAsync
public CompletableFuture<CloudWorkloadSecurityAgentPoliciesListResponse> listCSMThreatsAgentPoliciesAsync()Get all Workload Protection policies.- Returns:
- CompletableFuture<CloudWorkloadSecurityAgentPoliciesListResponse>
-
listCSMThreatsAgentPoliciesWithHttpInfo
public ApiResponse<CloudWorkloadSecurityAgentPoliciesListResponse> listCSMThreatsAgentPoliciesWithHttpInfo() throws ApiExceptionGet the list of Workload Protection policies.Note: This endpoint is not available for the Government (US1-FED) site. Please reference the (US1-FED) specific resource below.
- Returns:
- ApiResponse<CloudWorkloadSecurityAgentPoliciesListResponse>
- 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 -
-
listCSMThreatsAgentPoliciesWithHttpInfoAsync
public CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentPoliciesListResponse>> listCSMThreatsAgentPoliciesWithHttpInfoAsync()Get all Workload Protection policies.- Returns:
- CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentPoliciesListResponse>>
-
listCSMThreatsAgentRules
Get all Workload Protection agent rules.- Returns:
- CloudWorkloadSecurityAgentRulesListResponse
- Throws:
ApiException- if fails to make API call
-
listCSMThreatsAgentRulesAsync
public CompletableFuture<CloudWorkloadSecurityAgentRulesListResponse> listCSMThreatsAgentRulesAsync()Get all Workload Protection agent rules.- Returns:
- CompletableFuture<CloudWorkloadSecurityAgentRulesListResponse>
-
listCSMThreatsAgentRules
public CloudWorkloadSecurityAgentRulesListResponse listCSMThreatsAgentRules(CsmThreatsApi.ListCSMThreatsAgentRulesOptionalParameters parameters) throws ApiException Get all Workload Protection agent rules.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CloudWorkloadSecurityAgentRulesListResponse
- Throws:
ApiException- if fails to make API call
-
listCSMThreatsAgentRulesAsync
public CompletableFuture<CloudWorkloadSecurityAgentRulesListResponse> listCSMThreatsAgentRulesAsync(CsmThreatsApi.ListCSMThreatsAgentRulesOptionalParameters parameters) Get all Workload Protection agent rules.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<CloudWorkloadSecurityAgentRulesListResponse>
-
listCSMThreatsAgentRulesWithHttpInfo
public ApiResponse<CloudWorkloadSecurityAgentRulesListResponse> listCSMThreatsAgentRulesWithHttpInfo(CsmThreatsApi.ListCSMThreatsAgentRulesOptionalParameters parameters) throws ApiException Get the list of Workload Protection agent rules.Note: This endpoint is not available for the Government (US1-FED) site. Please reference the (US1-FED) specific resource below.
- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<CloudWorkloadSecurityAgentRulesListResponse>
- 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 -
-
listCSMThreatsAgentRulesWithHttpInfoAsync
public CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentRulesListResponse>> listCSMThreatsAgentRulesWithHttpInfoAsync(CsmThreatsApi.ListCSMThreatsAgentRulesOptionalParameters parameters) Get all Workload Protection agent rules.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentRulesListResponse>>
-
updateCloudWorkloadSecurityAgentRule
public CloudWorkloadSecurityAgentRuleResponse updateCloudWorkloadSecurityAgentRule(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body) throws ApiException Update a Workload Protection agent rule (US1-FED).- Parameters:
agentRuleId- The ID of the Agent rule (required)body- New definition of the agent rule (required)- Returns:
- CloudWorkloadSecurityAgentRuleResponse
- Throws:
ApiException- if fails to make API call
-
updateCloudWorkloadSecurityAgentRuleAsync
public CompletableFuture<CloudWorkloadSecurityAgentRuleResponse> updateCloudWorkloadSecurityAgentRuleAsync(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body) Update a Workload Protection agent rule (US1-FED).- Parameters:
agentRuleId- The ID of the Agent rule (required)body- New definition of the agent rule (required)- Returns:
- CompletableFuture<CloudWorkloadSecurityAgentRuleResponse>
-
updateCloudWorkloadSecurityAgentRuleWithHttpInfo
public ApiResponse<CloudWorkloadSecurityAgentRuleResponse> updateCloudWorkloadSecurityAgentRuleWithHttpInfo(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body) throws ApiException Update a specific agent rule. Returns the agent rule object when the request is successful.Note: This endpoint should only be used for the Government (US1-FED) site.
- Parameters:
agentRuleId- The ID of the Agent rule (required)body- New definition of the agent rule (required)- Returns:
- ApiResponse<CloudWorkloadSecurityAgentRuleResponse>
- 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 - 409 Concurrent Modification - 429 Too many requests -
-
updateCloudWorkloadSecurityAgentRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentRuleResponse>> updateCloudWorkloadSecurityAgentRuleWithHttpInfoAsync(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body) Update a Workload Protection agent rule (US1-FED).- Parameters:
agentRuleId- The ID of the Agent rule (required)body- New definition of the agent rule (required)- Returns:
- CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentRuleResponse>>
-
updateCSMThreatsAgentPolicy
public CloudWorkloadSecurityAgentPolicyResponse updateCSMThreatsAgentPolicy(String policyId, CloudWorkloadSecurityAgentPolicyUpdateRequest body) throws ApiException Update a Workload Protection policy.- Parameters:
policyId- The ID of the Agent policy (required)body- New definition of the Agent policy (required)- Returns:
- CloudWorkloadSecurityAgentPolicyResponse
- Throws:
ApiException- if fails to make API call
-
updateCSMThreatsAgentPolicyAsync
public CompletableFuture<CloudWorkloadSecurityAgentPolicyResponse> updateCSMThreatsAgentPolicyAsync(String policyId, CloudWorkloadSecurityAgentPolicyUpdateRequest body) Update a Workload Protection policy.- Parameters:
policyId- The ID of the Agent policy (required)body- New definition of the Agent policy (required)- Returns:
- CompletableFuture<CloudWorkloadSecurityAgentPolicyResponse>
-
updateCSMThreatsAgentPolicyWithHttpInfo
public ApiResponse<CloudWorkloadSecurityAgentPolicyResponse> updateCSMThreatsAgentPolicyWithHttpInfo(String policyId, CloudWorkloadSecurityAgentPolicyUpdateRequest body) throws ApiException Update a specific Workload Protection policy. Returns the policy object when the request is successful.Note: This endpoint is not available for the Government (US1-FED) site. Please reference the (US1-FED) specific resource below.
- Parameters:
policyId- The ID of the Agent policy (required)body- New definition of the Agent policy (required)- Returns:
- ApiResponse<CloudWorkloadSecurityAgentPolicyResponse>
- 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 - 409 Concurrent Modification - 429 Too many requests -
-
updateCSMThreatsAgentPolicyWithHttpInfoAsync
public CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentPolicyResponse>> updateCSMThreatsAgentPolicyWithHttpInfoAsync(String policyId, CloudWorkloadSecurityAgentPolicyUpdateRequest body) Update a Workload Protection policy.- Parameters:
policyId- The ID of the Agent policy (required)body- New definition of the Agent policy (required)- Returns:
- CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentPolicyResponse>>
-
updateCSMThreatsAgentRule
public CloudWorkloadSecurityAgentRuleResponse updateCSMThreatsAgentRule(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body) throws ApiException Update a Workload Protection agent rule.- Parameters:
agentRuleId- The ID of the Agent rule (required)body- New definition of the agent rule (required)- Returns:
- CloudWorkloadSecurityAgentRuleResponse
- Throws:
ApiException- if fails to make API call
-
updateCSMThreatsAgentRuleAsync
public CompletableFuture<CloudWorkloadSecurityAgentRuleResponse> updateCSMThreatsAgentRuleAsync(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body) Update a Workload Protection agent rule.- Parameters:
agentRuleId- The ID of the Agent rule (required)body- New definition of the agent rule (required)- Returns:
- CompletableFuture<CloudWorkloadSecurityAgentRuleResponse>
-
updateCSMThreatsAgentRule
public CloudWorkloadSecurityAgentRuleResponse updateCSMThreatsAgentRule(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body, CsmThreatsApi.UpdateCSMThreatsAgentRuleOptionalParameters parameters) throws ApiException Update a Workload Protection agent rule.- Parameters:
agentRuleId- The ID of the Agent rule (required)body- New definition of the agent rule (required)parameters- Optional parameters for the request.- Returns:
- CloudWorkloadSecurityAgentRuleResponse
- Throws:
ApiException- if fails to make API call
-
updateCSMThreatsAgentRuleAsync
public CompletableFuture<CloudWorkloadSecurityAgentRuleResponse> updateCSMThreatsAgentRuleAsync(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body, CsmThreatsApi.UpdateCSMThreatsAgentRuleOptionalParameters parameters) Update a Workload Protection agent rule.- Parameters:
agentRuleId- The ID of the Agent rule (required)body- New definition of the agent rule (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<CloudWorkloadSecurityAgentRuleResponse>
-
updateCSMThreatsAgentRuleWithHttpInfo
public ApiResponse<CloudWorkloadSecurityAgentRuleResponse> updateCSMThreatsAgentRuleWithHttpInfo(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body, CsmThreatsApi.UpdateCSMThreatsAgentRuleOptionalParameters parameters) throws ApiException Update a specific Workload Protection Agent rule. Returns the agent rule object when the request is successful.Note: This endpoint is not available for the Government (US1-FED) site. Please reference the (US1-FED) specific resource below.
- Parameters:
agentRuleId- The ID of the Agent rule (required)body- New definition of the agent rule (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<CloudWorkloadSecurityAgentRuleResponse>
- 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 - 409 Concurrent Modification - 429 Too many requests -
-
updateCSMThreatsAgentRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentRuleResponse>> updateCSMThreatsAgentRuleWithHttpInfoAsync(String agentRuleId, CloudWorkloadSecurityAgentRuleUpdateRequest body, CsmThreatsApi.UpdateCSMThreatsAgentRuleOptionalParameters parameters) Update a Workload Protection agent rule.- Parameters:
agentRuleId- The ID of the Agent rule (required)body- New definition of the agent rule (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<CloudWorkloadSecurityAgentRuleResponse>>
-