Skip to content

Commit da3fa2d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 9bc7913 of spec repo
1 parent 9cd3fee commit da3fa2d

File tree

3 files changed

+0
-64
lines changed

3 files changed

+0
-64
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -82175,13 +82175,6 @@ paths:
8217582175
description: 'Get a list of security findings that match a search query.
8217682176

8217782177

82178-
This endpoint requires one of the following permissions:
82179-
82180-
- `security_monitoring_findings_read`
82181-
82182-
- `appsec_vm_read`
82183-
82184-
8218582178
### Query Syntax
8218682179

8218782180

@@ -82259,9 +82252,6 @@ paths:
8225982252
permissions:
8226082253
- security_monitoring_findings_read
8226182254
- appsec_vm_read
82262-
x-unstable: '**Note**: This endpoint is in beta and subject to change.
82263-
82264-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
8226582255
/api/v2/security/findings/cases:
8226682256
delete:
8226782257
description: 'Detach security findings from their case.
@@ -82486,13 +82476,6 @@ paths:
8248682476
description: 'Get a list of security findings that match a search query.
8248782477

8248882478

82489-
This endpoint requires one of the following permissions:
82490-
82491-
- `security_monitoring_findings_read`
82492-
82493-
- `appsec_vm_read`
82494-
82495-
8249682479
### Query Syntax
8249782480

8249882481

@@ -82542,9 +82525,6 @@ paths:
8254282525
permissions:
8254382526
- security_monitoring_findings_read
8254482527
- appsec_vm_read
82545-
x-unstable: '**Note**: This endpoint is in beta and subject to change.
82546-
82547-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
8254882528
/api/v2/security/sboms:
8254982529
get:
8255082530
description: 'Get a list of assets SBOMs for an organization.

src/main/java/com/datadog/api/client/ApiClient.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -791,14 +791,12 @@ public class ApiClient {
791791
put("v2.listFindings", false);
792792
put("v2.listMultipleRulesets", false);
793793
put("v2.listScannedAssetsMetadata", false);
794-
put("v2.listSecurityFindings", false);
795794
put("v2.listSecurityMonitoringHistsignals", false);
796795
put("v2.listThreatHuntingJobs", false);
797796
put("v2.listVulnerabilities", false);
798797
put("v2.listVulnerableAssets", false);
799798
put("v2.muteFindings", false);
800799
put("v2.runThreatHuntingJob", false);
801-
put("v2.searchSecurityFindings", false);
802800
put("v2.searchSecurityMonitoringHistsignals", false);
803801
put("v2.createDataset", false);
804802
put("v2.deleteDataset", false);

src/main/java/com/datadog/api/client/v2/api/SecurityMonitoringApi.java

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -8866,9 +8866,6 @@ public PaginationIterable<SecurityFindingsData> listSecurityFindingsWithPaginati
88668866
/**
88678867
* Get a list of security findings that match a search query.
88688868
*
8869-
* <p>This endpoint requires one of the following permissions: - <code>
8870-
* security_monitoring_findings_read</code> - <code>appsec_vm_read</code>
8871-
*
88728869
* <h3>Query Syntax</h3>
88738870
*
88748871
* <p>This endpoint uses the logs query syntax. Findings attributes (living in the custom.
@@ -8891,13 +8888,6 @@ public PaginationIterable<SecurityFindingsData> listSecurityFindingsWithPaginati
88918888
*/
88928889
public ApiResponse<ListSecurityFindingsResponse> listSecurityFindingsWithHttpInfo(
88938890
ListSecurityFindingsOptionalParameters parameters) throws ApiException {
8894-
// Check if unstable operation is enabled
8895-
String operationId = "listSecurityFindings";
8896-
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
8897-
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
8898-
} else {
8899-
throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId));
8900-
}
89018891
Object localVarPostBody = null;
89028892
String filterQuery = parameters.filterQuery;
89038893
String pageCursor = parameters.pageCursor;
@@ -8944,17 +8934,6 @@ public ApiResponse<ListSecurityFindingsResponse> listSecurityFindingsWithHttpInf
89448934
*/
89458935
public CompletableFuture<ApiResponse<ListSecurityFindingsResponse>>
89468936
listSecurityFindingsWithHttpInfoAsync(ListSecurityFindingsOptionalParameters parameters) {
8947-
// Check if unstable operation is enabled
8948-
String operationId = "listSecurityFindings";
8949-
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
8950-
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
8951-
} else {
8952-
CompletableFuture<ApiResponse<ListSecurityFindingsResponse>> result =
8953-
new CompletableFuture<>();
8954-
result.completeExceptionally(
8955-
new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)));
8956-
return result;
8957-
}
89588937
Object localVarPostBody = null;
89598938
String filterQuery = parameters.filterQuery;
89608939
String pageCursor = parameters.pageCursor;
@@ -12577,9 +12556,6 @@ public PaginationIterable<SecurityFindingsData> searchSecurityFindingsWithPagina
1257712556
/**
1257812557
* Get a list of security findings that match a search query.
1257912558
*
12580-
* <p>This endpoint requires one of the following permissions: - <code>
12581-
* security_monitoring_findings_read</code> - <code>appsec_vm_read</code>
12582-
*
1258312559
* <h3>Query Syntax</h3>
1258412560
*
1258512561
* <p>The API uses the logs query syntax. Findings attributes (living in the custom. namespace)
@@ -12602,13 +12578,6 @@ public PaginationIterable<SecurityFindingsData> searchSecurityFindingsWithPagina
1260212578
*/
1260312579
public ApiResponse<ListSecurityFindingsResponse> searchSecurityFindingsWithHttpInfo(
1260412580
SecurityFindingsSearchRequest body) throws ApiException {
12605-
// Check if unstable operation is enabled
12606-
String operationId = "searchSecurityFindings";
12607-
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
12608-
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
12609-
} else {
12610-
throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId));
12611-
}
1261212581
Object localVarPostBody = body;
1261312582

1261412583
// verify the required parameter 'body' is set
@@ -12651,17 +12620,6 @@ public ApiResponse<ListSecurityFindingsResponse> searchSecurityFindingsWithHttpI
1265112620
*/
1265212621
public CompletableFuture<ApiResponse<ListSecurityFindingsResponse>>
1265312622
searchSecurityFindingsWithHttpInfoAsync(SecurityFindingsSearchRequest body) {
12654-
// Check if unstable operation is enabled
12655-
String operationId = "searchSecurityFindings";
12656-
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
12657-
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
12658-
} else {
12659-
CompletableFuture<ApiResponse<ListSecurityFindingsResponse>> result =
12660-
new CompletableFuture<>();
12661-
result.completeExceptionally(
12662-
new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)));
12663-
return result;
12664-
}
1266512623
Object localVarPostBody = body;
1266612624

1266712625
// verify the required parameter 'body' is set

0 commit comments

Comments
 (0)