@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class StaticAnalysisApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StaticAnalysisApi.ListAiCustomRuleRevisionsOptionalParameters
Manage optional parameters to listAiCustomRuleRevisions.
|
static class |
StaticAnalysisApi.ListAiCustomRulesetsOptionalParameters
Manage optional parameters to listAiCustomRulesets.
|
static class |
StaticAnalysisApi.ListCustomRuleRevisionsOptionalParameters
Manage optional parameters to listCustomRuleRevisions.
|
| Constructor and Description |
|---|
StaticAnalysisApi() |
StaticAnalysisApi(ApiClient apiClient) |
public StaticAnalysisApi()
public StaticAnalysisApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic AiCustomRuleResponse createAiCustomRule(String rulesetName, AiCustomRuleRequest body) throws ApiException
rulesetName - The ruleset name. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<AiCustomRuleResponse> createAiCustomRuleAsync(String rulesetName, AiCustomRuleRequest body)
rulesetName - The ruleset name. (required)body - (required)public ApiResponse<AiCustomRuleResponse> createAiCustomRuleWithHttpInfo(String rulesetName, AiCustomRuleRequest body) throws ApiException
rulesetName - The ruleset name. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully created | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 409 | Conflict - rule already exists | - |
| 412 | Precondition Failed - validation error or ruleset not found | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<AiCustomRuleResponse>> createAiCustomRuleWithHttpInfoAsync(String rulesetName, AiCustomRuleRequest body)
rulesetName - The ruleset name. (required)body - (required)public void createAiCustomRuleRevision(String rulesetName, String ruleName, AiCustomRuleRevisionRequest body) throws ApiException
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<Void> createAiCustomRuleRevisionAsync(String rulesetName, String ruleName, AiCustomRuleRevisionRequest body)
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)body - (required)public ApiResponse<Void> createAiCustomRuleRevisionWithHttpInfo(String rulesetName, String ruleName, AiCustomRuleRevisionRequest body) throws ApiException
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully created | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 404 | Rule not found | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<Void>> createAiCustomRuleRevisionWithHttpInfoAsync(String rulesetName, String ruleName, AiCustomRuleRevisionRequest body)
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)body - (required)public AiCustomRulesetResponse createAiCustomRuleset(AiCustomRulesetRequest body) throws ApiException
See createAiCustomRulesetWithHttpInfo(com.datadog.api.client.v2.model.AiCustomRulesetRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<AiCustomRulesetResponse> createAiCustomRulesetAsync(AiCustomRulesetRequest body)
See createAiCustomRulesetWithHttpInfoAsync(com.datadog.api.client.v2.model.AiCustomRulesetRequest).
body - (required)public ApiResponse<AiCustomRulesetResponse> createAiCustomRulesetWithHttpInfo(AiCustomRulesetRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully created | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 409 | Conflict - ruleset already exists | - |
| 412 | Precondition Failed - validation error | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<AiCustomRulesetResponse>> createAiCustomRulesetWithHttpInfoAsync(AiCustomRulesetRequest body)
See createAiCustomRulesetWithHttpInfo(com.datadog.api.client.v2.model.AiCustomRulesetRequest).
body - (required)public void createAiMemoryViolationResult(AiMemoryViolationResultRequest body) throws ApiException
body - (required)ApiException - if fails to make API callpublic CompletableFuture<Void> createAiMemoryViolationResultAsync(AiMemoryViolationResultRequest body)
body - (required)public ApiResponse<Void> createAiMemoryViolationResultWithHttpInfo(AiMemoryViolationResultRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully created | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<Void>> createAiMemoryViolationResultWithHttpInfoAsync(AiMemoryViolationResultRequest body)
body - (required)public CustomRuleResponse createCustomRule(String rulesetName, CustomRuleRequest body) throws ApiException
See createCustomRuleWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CustomRuleRequest).
rulesetName - The ruleset name (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<CustomRuleResponse> createCustomRuleAsync(String rulesetName, CustomRuleRequest body)
rulesetName - The ruleset name (required)body - (required)public ApiResponse<CustomRuleResponse> createCustomRuleWithHttpInfo(String rulesetName, CustomRuleRequest body) throws ApiException
rulesetName - The ruleset name (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully created | - |
| 400 | Bad request | - |
| 401 | Unauthorized - custom rules not enabled | - |
| 409 | Conflict - rule already exists | - |
| 412 | Precondition failed - validation error or ruleset not found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CustomRuleResponse>> createCustomRuleWithHttpInfoAsync(String rulesetName, CustomRuleRequest body)
See createCustomRuleWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CustomRuleRequest).
rulesetName - The ruleset name (required)body - (required)public void createCustomRuleRevision(String rulesetName, String ruleName, CustomRuleRevisionRequest body) throws ApiException
rulesetName - The ruleset name (required)ruleName - The rule name (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<Void> createCustomRuleRevisionAsync(String rulesetName, String ruleName, CustomRuleRevisionRequest body)
rulesetName - The ruleset name (required)ruleName - The rule name (required)body - (required)public ApiResponse<Void> createCustomRuleRevisionWithHttpInfo(String rulesetName, String ruleName, CustomRuleRevisionRequest body) throws ApiException
rulesetName - The ruleset name (required)ruleName - The rule name (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully created | - |
| 400 | Bad request | - |
| 401 | Unauthorized - custom rules not enabled | - |
| 404 | Rule not found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> createCustomRuleRevisionWithHttpInfoAsync(String rulesetName, String ruleName, CustomRuleRevisionRequest body)
rulesetName - The ruleset name (required)ruleName - The rule name (required)body - (required)public CustomRulesetResponse createCustomRuleset(CustomRulesetRequest body) throws ApiException
See createCustomRulesetWithHttpInfo(com.datadog.api.client.v2.model.CustomRulesetRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<CustomRulesetResponse> createCustomRulesetAsync(CustomRulesetRequest body)
See createCustomRulesetWithHttpInfoAsync(com.datadog.api.client.v2.model.CustomRulesetRequest).
body - (required)public ApiResponse<CustomRulesetResponse> createCustomRulesetWithHttpInfo(CustomRulesetRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 409 | Conflict | - |
| 412 | Precondition Failed | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CustomRulesetResponse>> createCustomRulesetWithHttpInfoAsync(CustomRulesetRequest body)
See createCustomRulesetWithHttpInfo(com.datadog.api.client.v2.model.CustomRulesetRequest).
body - (required)public ResolveVulnerableSymbolsResponse createSCAResolveVulnerableSymbols(ResolveVulnerableSymbolsRequest body) throws ApiException
body - (required)ApiException - if fails to make API callpublic CompletableFuture<ResolveVulnerableSymbolsResponse> createSCAResolveVulnerableSymbolsAsync(ResolveVulnerableSymbolsRequest body)
body - (required)public ApiResponse<ResolveVulnerableSymbolsResponse> createSCAResolveVulnerableSymbolsWithHttpInfo(ResolveVulnerableSymbolsRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ResolveVulnerableSymbolsResponse>> createSCAResolveVulnerableSymbolsWithHttpInfoAsync(ResolveVulnerableSymbolsRequest body)
body - (required)public void createSCAResult(ScaRequest body) throws ApiException
See createSCAResultWithHttpInfo(com.datadog.api.client.v2.model.ScaRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<Void> createSCAResultAsync(ScaRequest body)
See createSCAResultWithHttpInfoAsync(com.datadog.api.client.v2.model.ScaRequest).
body - (required)public ApiResponse<Void> createSCAResultWithHttpInfo(ScaRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> createSCAResultWithHttpInfoAsync(ScaRequest body)
See createSCAResultWithHttpInfo(com.datadog.api.client.v2.model.ScaRequest).
body - (required)public McpScanRequestResponse createSCAScan(McpScanRequest body) throws ApiException
See createSCAScanWithHttpInfo(com.datadog.api.client.v2.model.McpScanRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<McpScanRequestResponse> createSCAScanAsync(McpScanRequest body)
See createSCAScanWithHttpInfoAsync(com.datadog.api.client.v2.model.McpScanRequest).
body - (required)public ApiResponse<McpScanRequestResponse> createSCAScanWithHttpInfo(McpScanRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 202 | Accepted | - |
| 400 | Bad Request | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<McpScanRequestResponse>> createSCAScanWithHttpInfoAsync(McpScanRequest body)
See createSCAScanWithHttpInfo(com.datadog.api.client.v2.model.McpScanRequest).
body - (required)public void deleteAiCustomRule(String rulesetName, String ruleName) throws ApiException
See deleteAiCustomRuleWithHttpInfo(java.lang.String, java.lang.String).
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteAiCustomRuleAsync(String rulesetName, String ruleName)
See deleteAiCustomRuleWithHttpInfoAsync(java.lang.String, java.lang.String).
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)public ApiResponse<Void> deleteAiCustomRuleWithHttpInfo(String rulesetName, String ruleName) throws ApiException
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully deleted | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 404 | Rule not found | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<Void>> deleteAiCustomRuleWithHttpInfoAsync(String rulesetName, String ruleName)
See deleteAiCustomRuleWithHttpInfo(java.lang.String, java.lang.String).
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)public void deleteAiCustomRuleset(String rulesetName) throws ApiException
rulesetName - The ruleset name. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteAiCustomRulesetAsync(String rulesetName)
See deleteAiCustomRulesetWithHttpInfoAsync(java.lang.String).
rulesetName - The ruleset name. (required)public ApiResponse<Void> deleteAiCustomRulesetWithHttpInfo(String rulesetName) throws ApiException
rulesetName - The ruleset name. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully deleted | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 404 | Ruleset not found | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<Void>> deleteAiCustomRulesetWithHttpInfoAsync(String rulesetName)
rulesetName - The ruleset name. (required)public void deleteAiMemoryViolationResult(String id) throws ApiException
See deleteAiMemoryViolationResultWithHttpInfo(java.lang.String).
id - The numeric identifier of the memory violation result. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteAiMemoryViolationResultAsync(String id)
See deleteAiMemoryViolationResultWithHttpInfoAsync(java.lang.String).
id - The numeric identifier of the memory violation result. (required)public ApiResponse<Void> deleteAiMemoryViolationResultWithHttpInfo(String id) throws ApiException
id - The numeric identifier of the memory violation result. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully deleted | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 404 | Memory violation result not found | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<Void>> deleteAiMemoryViolationResultWithHttpInfoAsync(String id)
See deleteAiMemoryViolationResultWithHttpInfo(java.lang.String).
id - The numeric identifier of the memory violation result. (required)public void deleteCustomRule(String rulesetName, String ruleName) throws ApiException
See deleteCustomRuleWithHttpInfo(java.lang.String, java.lang.String).
rulesetName - The ruleset name (required)ruleName - The rule name (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteCustomRuleAsync(String rulesetName, String ruleName)
See deleteCustomRuleWithHttpInfoAsync(java.lang.String, java.lang.String).
rulesetName - The ruleset name (required)ruleName - The rule name (required)public ApiResponse<Void> deleteCustomRuleWithHttpInfo(String rulesetName, String ruleName) throws ApiException
rulesetName - The ruleset name (required)ruleName - The rule name (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully deleted | - |
| 400 | Bad request | - |
| 401 | Unauthorized - custom rules not enabled | - |
| 404 | Rule not found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteCustomRuleWithHttpInfoAsync(String rulesetName, String ruleName)
See deleteCustomRuleWithHttpInfo(java.lang.String, java.lang.String).
rulesetName - The ruleset name (required)ruleName - The rule name (required)public void deleteCustomRuleset(String rulesetName) throws ApiException
rulesetName - The ruleset name (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteCustomRulesetAsync(String rulesetName)
rulesetName - The ruleset name (required)public ApiResponse<Void> deleteCustomRulesetWithHttpInfo(String rulesetName) throws ApiException
rulesetName - The ruleset name (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully deleted | - |
| 400 | Bad request | - |
| 401 | Unauthorized - custom rules not enabled | - |
| 404 | Ruleset not found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteCustomRulesetWithHttpInfoAsync(String rulesetName)
rulesetName - The ruleset name (required)public AiCustomRuleResponse getAiCustomRule(String rulesetName, String ruleName) throws ApiException
See getAiCustomRuleWithHttpInfo(java.lang.String, java.lang.String).
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)ApiException - if fails to make API callpublic CompletableFuture<AiCustomRuleResponse> getAiCustomRuleAsync(String rulesetName, String ruleName)
See getAiCustomRuleWithHttpInfoAsync(java.lang.String, java.lang.String).
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)public ApiResponse<AiCustomRuleResponse> getAiCustomRuleWithHttpInfo(String rulesetName, String ruleName) throws ApiException
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successful response | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 404 | Rule not found | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<AiCustomRuleResponse>> getAiCustomRuleWithHttpInfoAsync(String rulesetName, String ruleName)
See getAiCustomRuleWithHttpInfo(java.lang.String, java.lang.String).
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)public AiCustomRuleRevisionResponse getAiCustomRuleRevision(String rulesetName, String ruleName, String id) throws ApiException
See getAiCustomRuleRevisionWithHttpInfo(java.lang.String, java.lang.String, java.lang.String).
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)id - The revision identifier. (required)ApiException - if fails to make API callpublic CompletableFuture<AiCustomRuleRevisionResponse> getAiCustomRuleRevisionAsync(String rulesetName, String ruleName, String id)
See getAiCustomRuleRevisionWithHttpInfoAsync(java.lang.String, java.lang.String, java.lang.String).
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)id - The revision identifier. (required)public ApiResponse<AiCustomRuleRevisionResponse> getAiCustomRuleRevisionWithHttpInfo(String rulesetName, String ruleName, String id) throws ApiException
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)id - The revision identifier. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successful response | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 404 | Revision not found | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<AiCustomRuleRevisionResponse>> getAiCustomRuleRevisionWithHttpInfoAsync(String rulesetName, String ruleName, String id)
See getAiCustomRuleRevisionWithHttpInfo(java.lang.String, java.lang.String, java.lang.String).
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)id - The revision identifier. (required)public AiCustomRulesetResponse getAiCustomRuleset(String rulesetName) throws ApiException
rulesetName - The ruleset name. (required)ApiException - if fails to make API callpublic CompletableFuture<AiCustomRulesetResponse> getAiCustomRulesetAsync(String rulesetName)
rulesetName - The ruleset name. (required)public ApiResponse<AiCustomRulesetResponse> getAiCustomRulesetWithHttpInfo(String rulesetName) throws ApiException
rulesetName - The ruleset name. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successful response | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 404 | Ruleset not found | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<AiCustomRulesetResponse>> getAiCustomRulesetWithHttpInfoAsync(String rulesetName)
rulesetName - The ruleset name. (required)public CustomRuleResponse getCustomRule(String rulesetName, String ruleName) throws ApiException
See getCustomRuleWithHttpInfo(java.lang.String, java.lang.String).
rulesetName - The ruleset name (required)ruleName - The rule name (required)ApiException - if fails to make API callpublic CompletableFuture<CustomRuleResponse> getCustomRuleAsync(String rulesetName, String ruleName)
See getCustomRuleWithHttpInfoAsync(java.lang.String, java.lang.String).
rulesetName - The ruleset name (required)ruleName - The rule name (required)public ApiResponse<CustomRuleResponse> getCustomRuleWithHttpInfo(String rulesetName, String ruleName) throws ApiException
rulesetName - The ruleset name (required)ruleName - The rule name (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successful response | - |
| 400 | Bad request | - |
| 401 | Unauthorized - custom rules not enabled | - |
| 404 | Rule not found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CustomRuleResponse>> getCustomRuleWithHttpInfoAsync(String rulesetName, String ruleName)
See getCustomRuleWithHttpInfo(java.lang.String, java.lang.String).
rulesetName - The ruleset name (required)ruleName - The rule name (required)public CustomRuleRevisionResponse getCustomRuleRevision(String rulesetName, String ruleName, String id) throws ApiException
See getCustomRuleRevisionWithHttpInfo(java.lang.String, java.lang.String, java.lang.String).
rulesetName - The ruleset name (required)ruleName - The rule name (required)id - The revision ID (required)ApiException - if fails to make API callpublic CompletableFuture<CustomRuleRevisionResponse> getCustomRuleRevisionAsync(String rulesetName, String ruleName, String id)
See getCustomRuleRevisionWithHttpInfoAsync(java.lang.String, java.lang.String, java.lang.String).
rulesetName - The ruleset name (required)ruleName - The rule name (required)id - The revision ID (required)public ApiResponse<CustomRuleRevisionResponse> getCustomRuleRevisionWithHttpInfo(String rulesetName, String ruleName, String id) throws ApiException
rulesetName - The ruleset name (required)ruleName - The rule name (required)id - The revision ID (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successful response | - |
| 400 | Bad request | - |
| 401 | Unauthorized - custom rules not enabled | - |
| 404 | Revision not found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CustomRuleRevisionResponse>> getCustomRuleRevisionWithHttpInfoAsync(String rulesetName, String ruleName, String id)
See getCustomRuleRevisionWithHttpInfo(java.lang.String, java.lang.String, java.lang.String).
rulesetName - The ruleset name (required)ruleName - The rule name (required)id - The revision ID (required)public CustomRulesetResponse getCustomRuleset(String rulesetName) throws ApiException
rulesetName - The ruleset name (required)ApiException - if fails to make API callpublic CompletableFuture<CustomRulesetResponse> getCustomRulesetAsync(String rulesetName)
rulesetName - The ruleset name (required)public ApiResponse<CustomRulesetResponse> getCustomRulesetWithHttpInfo(String rulesetName) throws ApiException
rulesetName - The ruleset name (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successful response | - |
| 400 | Bad request | - |
| 401 | Unauthorized - custom rules not enabled | - |
| 404 | Ruleset not found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CustomRulesetResponse>> getCustomRulesetWithHttpInfoAsync(String rulesetName)
rulesetName - The ruleset name (required)public ScanResultResponse getSCAScan(String jobId) throws ApiException
jobId - The job identifier returned when the scan was submitted. (required)ApiException - if fails to make API callpublic CompletableFuture<ScanResultResponse> getSCAScanAsync(String jobId)
jobId - The job identifier returned when the scan was submitted. (required)public ApiResponse<ScanResultResponse> getSCAScanWithHttpInfo(String jobId) throws ApiException
jobId - The job identifier returned when the scan was submitted. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ScanResultResponse>> getSCAScanWithHttpInfoAsync(String jobId)
jobId - The job identifier returned when the scan was submitted. (required)public AiCustomRuleRevisionsResponse listAiCustomRuleRevisions(String rulesetName, String ruleName) throws ApiException
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)ApiException - if fails to make API callpublic CompletableFuture<AiCustomRuleRevisionsResponse> listAiCustomRuleRevisionsAsync(String rulesetName, String ruleName)
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)public AiCustomRuleRevisionsResponse listAiCustomRuleRevisions(String rulesetName, String ruleName, StaticAnalysisApi.ListAiCustomRuleRevisionsOptionalParameters parameters) throws ApiException
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<AiCustomRuleRevisionsResponse> listAiCustomRuleRevisionsAsync(String rulesetName, String ruleName, StaticAnalysisApi.ListAiCustomRuleRevisionsOptionalParameters parameters)
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)parameters - Optional parameters for the request.public PaginationIterable<AiCustomRuleRevisionResponseData> listAiCustomRuleRevisionsWithPagination(String rulesetName, String ruleName)
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)public PaginationIterable<AiCustomRuleRevisionResponseData> listAiCustomRuleRevisionsWithPagination(String rulesetName, String ruleName, StaticAnalysisApi.ListAiCustomRuleRevisionsOptionalParameters parameters)
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)public ApiResponse<AiCustomRuleRevisionsResponse> listAiCustomRuleRevisionsWithHttpInfo(String rulesetName, String ruleName, StaticAnalysisApi.ListAiCustomRuleRevisionsOptionalParameters parameters) throws ApiException
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successful response | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 404 | Rule not found | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<AiCustomRuleRevisionsResponse>> listAiCustomRuleRevisionsWithHttpInfoAsync(String rulesetName, String ruleName, StaticAnalysisApi.ListAiCustomRuleRevisionsOptionalParameters parameters)
rulesetName - The ruleset name. (required)ruleName - The rule name. (required)parameters - Optional parameters for the request.public AiCustomRulesetsResponse listAiCustomRulesets() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<AiCustomRulesetsResponse> listAiCustomRulesetsAsync()
public AiCustomRulesetsResponse listAiCustomRulesets(StaticAnalysisApi.ListAiCustomRulesetsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<AiCustomRulesetsResponse> listAiCustomRulesetsAsync(StaticAnalysisApi.ListAiCustomRulesetsOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<AiCustomRulesetsResponse> listAiCustomRulesetsWithHttpInfo(StaticAnalysisApi.ListAiCustomRulesetsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successful response | - |
| 401 | Unauthorized | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<AiCustomRulesetsResponse>> listAiCustomRulesetsWithHttpInfoAsync(StaticAnalysisApi.ListAiCustomRulesetsOptionalParameters parameters)
parameters - Optional parameters for the request.public AiMemoryViolationResultsResponse listAiMemoryViolationResults() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<AiMemoryViolationResultsResponse> listAiMemoryViolationResultsAsync()
public ApiResponse<AiMemoryViolationResultsResponse> listAiMemoryViolationResultsWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successful response | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<AiMemoryViolationResultsResponse>> listAiMemoryViolationResultsWithHttpInfoAsync()
public AiPromptsResponse listAiPrompts() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<AiPromptsResponse> listAiPromptsAsync()
public ApiResponse<AiPromptsResponse> listAiPromptsWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successful response | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<AiPromptsResponse>> listAiPromptsWithHttpInfoAsync()
public CustomRuleRevisionsResponse listCustomRuleRevisions(String rulesetName, String ruleName) throws ApiException
rulesetName - The ruleset name (required)ruleName - The rule name (required)ApiException - if fails to make API callpublic CompletableFuture<CustomRuleRevisionsResponse> listCustomRuleRevisionsAsync(String rulesetName, String ruleName)
rulesetName - The ruleset name (required)ruleName - The rule name (required)public CustomRuleRevisionsResponse listCustomRuleRevisions(String rulesetName, String ruleName, StaticAnalysisApi.ListCustomRuleRevisionsOptionalParameters parameters) throws ApiException
rulesetName - The ruleset name (required)ruleName - The rule name (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<CustomRuleRevisionsResponse> listCustomRuleRevisionsAsync(String rulesetName, String ruleName, StaticAnalysisApi.ListCustomRuleRevisionsOptionalParameters parameters)
rulesetName - The ruleset name (required)ruleName - The rule name (required)parameters - Optional parameters for the request.public PaginationIterable<CustomRuleRevision> listCustomRuleRevisionsWithPagination(String rulesetName, String ruleName)
rulesetName - The ruleset name (required)ruleName - The rule name (required)public PaginationIterable<CustomRuleRevision> listCustomRuleRevisionsWithPagination(String rulesetName, String ruleName, StaticAnalysisApi.ListCustomRuleRevisionsOptionalParameters parameters)
rulesetName - The ruleset name (required)ruleName - The rule name (required)public ApiResponse<CustomRuleRevisionsResponse> listCustomRuleRevisionsWithHttpInfo(String rulesetName, String ruleName, StaticAnalysisApi.ListCustomRuleRevisionsOptionalParameters parameters) throws ApiException
rulesetName - The ruleset name (required)ruleName - The rule name (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successful response | - |
| 400 | Bad request | - |
| 401 | Unauthorized - custom rules not enabled | - |
| 404 | Rule not found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CustomRuleRevisionsResponse>> listCustomRuleRevisionsWithHttpInfoAsync(String rulesetName, String ruleName, StaticAnalysisApi.ListCustomRuleRevisionsOptionalParameters parameters)
rulesetName - The ruleset name (required)ruleName - The rule name (required)parameters - Optional parameters for the request.public CustomRulesetListResponse listCustomRulesets() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<CustomRulesetListResponse> listCustomRulesetsAsync()
public ApiResponse<CustomRulesetListResponse> listCustomRulesetsWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CustomRulesetListResponse>> listCustomRulesetsWithHttpInfoAsync()
public LicensesListResponse listSCALicenses() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<LicensesListResponse> listSCALicensesAsync()
public ApiResponse<LicensesListResponse> listSCALicensesWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<LicensesListResponse>> listSCALicensesWithHttpInfoAsync()
public void revertCustomRuleRevision(String rulesetName, String ruleName, RevertCustomRuleRevisionRequest body) throws ApiException
rulesetName - The ruleset name (required)ruleName - The rule name (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<Void> revertCustomRuleRevisionAsync(String rulesetName, String ruleName, RevertCustomRuleRevisionRequest body)
rulesetName - The ruleset name (required)ruleName - The rule name (required)body - (required)public ApiResponse<Void> revertCustomRuleRevisionWithHttpInfo(String rulesetName, String ruleName, RevertCustomRuleRevisionRequest body) throws ApiException
rulesetName - The ruleset name (required)ruleName - The rule name (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully reverted | - |
| 400 | Bad request | - |
| 401 | Unauthorized - custom rules not enabled | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> revertCustomRuleRevisionWithHttpInfoAsync(String rulesetName, String ruleName, RevertCustomRuleRevisionRequest body)
rulesetName - The ruleset name (required)ruleName - The rule name (required)body - (required)public void updateAiCustomRuleset(String rulesetName, AiCustomRulesetUpdateRequest body) throws ApiException
rulesetName - The ruleset name. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<Void> updateAiCustomRulesetAsync(String rulesetName, AiCustomRulesetUpdateRequest body)
rulesetName - The ruleset name. (required)body - (required)public ApiResponse<Void> updateAiCustomRulesetWithHttpInfo(String rulesetName, AiCustomRulesetUpdateRequest body) throws ApiException
rulesetName - The ruleset name. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully updated | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 412 | Precondition Failed - validation error or ruleset not found | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<Void>> updateAiCustomRulesetWithHttpInfoAsync(String rulesetName, AiCustomRulesetUpdateRequest body)
rulesetName - The ruleset name. (required)body - (required)public CustomRulesetResponse updateCustomRuleset(String rulesetName, CustomRulesetRequest body) throws ApiException
rulesetName - The ruleset name (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<CustomRulesetResponse> updateCustomRulesetAsync(String rulesetName, CustomRulesetRequest body)
rulesetName - The ruleset name (required)body - (required)public ApiResponse<CustomRulesetResponse> updateCustomRulesetWithHttpInfo(String rulesetName, CustomRulesetRequest body) throws ApiException
rulesetName - The ruleset name (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully updated | - |
| 400 | Bad request | - |
| 401 | Unauthorized - custom rules not enabled | - |
| 412 | Precondition failed - validation error or ruleset not found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CustomRulesetResponse>> updateCustomRulesetWithHttpInfoAsync(String rulesetName, CustomRulesetRequest body)
rulesetName - The ruleset name (required)body - (required)Copyright © 2026. All rights reserved.