Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 1 addition & 86 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49256,18 +49256,6 @@ components:
meta:
$ref: '#/components/schemas/ResponseMetaAttributes'
type: object
SecurityMonitoringPaginatedSuppressionsResponse:
description: Response object containing the available suppression rules with
pagination metadata.
properties:
data:
description: A list of suppressions objects.
items:
$ref: '#/components/schemas/SecurityMonitoringSuppression'
type: array
meta:
$ref: '#/components/schemas/SecurityMonitoringSuppressionsMeta'
type: object
SecurityMonitoringReferenceTable:
description: Reference tables used in the queries.
properties:
Expand Down Expand Up @@ -51417,31 +51405,6 @@ components:
data:
$ref: '#/components/schemas/SecurityMonitoringSuppression'
type: object
SecurityMonitoringSuppressionSort:
description: The sort parameters used for querying suppression rules.
enum:
- name
- start_date
- expiration_date
- update_date
- enabled
- -name
- -start_date
- -expiration_date
- -update_date
- -enabled
type: string
x-enum-varnames:
- NAME
- START_DATE
- EXPIRATION_DATE
- UPDATE_DATE
- ENABLED
- NAME_DESCENDING
- START_DATE_DESCENDING
- EXPIRATION_DATE_DESCENDING
- UPDATE_DATE_DESCENDING
- ENABLED_DESCENDING
SecurityMonitoringSuppressionType:
default: suppressions
description: The type of the resource. The value should always be `suppressions`.
Expand Down Expand Up @@ -51537,31 +51500,6 @@ components:
required:
- data
type: object
SecurityMonitoringSuppressionsMeta:
description: Metadata for the suppression list response.
properties:
page:
$ref: '#/components/schemas/SecurityMonitoringSuppressionsPageMeta'
type: object
SecurityMonitoringSuppressionsPageMeta:
description: Pagination metadata.
properties:
pageNumber:
description: Current page number.
example: 0
format: int64
type: integer
pageSize:
description: Current page size.
example: 2
format: int64
type: integer
totalCount:
description: Total count of suppressions.
example: 2
format: int64
type: integer
type: object
SecurityMonitoringSuppressionsResponse:
description: Response object containing the available suppression rules.
properties:
Expand Down Expand Up @@ -84070,9 +84008,6 @@ paths:
operator: OR
permissions:
- appsec_vm_read
x-unstable: '**Note**: This endpoint is a private preview.

If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).'
/api/v2/security/sboms/{asset_type}:
get:
description: Get a single SBOM related to an asset by its type and name.
Expand Down Expand Up @@ -84145,9 +84080,6 @@ paths:
operator: OR
permissions:
- appsec_vm_read
x-unstable: '**Note**: This endpoint is a private preview.

If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).'
/api/v2/security/scanned-assets-metadata:
get:
description: "Get a list of security scanned assets metadata for an organization.\n\n###
Expand Down Expand Up @@ -85732,29 +85664,12 @@ paths:
required: false
schema:
type: string
- description: Attribute used to sort the list of suppression rules. Prefix
with `-` to sort in descending order.
in: query
name: sort
required: false
schema:
$ref: '#/components/schemas/SecurityMonitoringSuppressionSort'
- description: Size for a given page. Use `-1` to return all items.
in: query
name: page[size]
required: false
schema:
default: -1
example: 10
format: int64
type: integer
- $ref: '#/components/parameters/PageNumber'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/SecurityMonitoringPaginatedSuppressionsResponse'
$ref: '#/components/schemas/SecurityMonitoringSuppressionsResponse'
description: OK
'403':
$ref: '#/components/responses/NotAuthorizedResponse'
Expand Down
1 change: 0 additions & 1 deletion examples/v2/security-monitoring/GetSBOM.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = ApiClient.getDefaultApiClient();
defaultClient.setUnstableOperationEnabled("v2.getSBOM", true);
SecurityMonitoringApi apiInstance = new SecurityMonitoringApi(defaultClient);

try {
Expand Down
1 change: 0 additions & 1 deletion examples/v2/security-monitoring/ListAssetsSBOMs.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = ApiClient.getDefaultApiClient();
defaultClient.setUnstableOperationEnabled("v2.listAssetsSBOMs", true);
SecurityMonitoringApi apiInstance = new SecurityMonitoringApi(defaultClient);

try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.SecurityMonitoringApi;
import com.datadog.api.client.v2.model.SecurityMonitoringPaginatedSuppressionsResponse;
import com.datadog.api.client.v2.model.SecurityMonitoringSuppressionsResponse;

public class Example {
public static void main(String[] args) {
ApiClient defaultClient = ApiClient.getDefaultApiClient();
SecurityMonitoringApi apiInstance = new SecurityMonitoringApi(defaultClient);

try {
SecurityMonitoringPaginatedSuppressionsResponse result =
SecurityMonitoringSuppressionsResponse result =
apiInstance.listSecurityMonitoringSuppressions();
System.out.println(result);
} catch (ApiException e) {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions src/main/java/com/datadog/api/client/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -782,12 +782,10 @@ public class ApiClient {
put("v2.deleteThreatHuntingJob", false);
put("v2.getFinding", false);
put("v2.getRuleVersionHistory", false);
put("v2.getSBOM", false);
put("v2.getSecretsRules", false);
put("v2.getSecurityMonitoringHistsignal", false);
put("v2.getSecurityMonitoringHistsignalsByJobId", false);
put("v2.getThreatHuntingJob", false);
put("v2.listAssetsSBOMs", false);
put("v2.listFindings", false);
put("v2.listMultipleRulesets", false);
put("v2.listScannedAssetsMetadata", false);
Expand Down
Loading
Loading