Skip to content
Merged
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
8 changes: 8 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254361,6 +254361,10 @@ paths:
description: |-
Get a list of security findings that match a search query. [See the schema for security findings](https://docs.datadoghq.com/security/guide/findings-schema/).

This endpoint takes the query, sort, and pagination as URL query parameters. `SearchSecurityFindings` (`POST /api/v2/security/findings/search`) accepts the same parameters in a JSON request body and returns the same results, so pick by how you want to send them. Use this endpoint when the query fits easily in a URL. To send the query in a JSON body without URL encoding, use `SearchSecurityFindings` instead. A `meta.page.after` cursor from either endpoint works on the other.

Use this endpoint rather than `ListFindings` (`GET /api/v2/posture_management/findings`), which uses the legacy security findings data model and is planned for deprecation.

### Query Syntax

This endpoint uses the logs query syntax. Findings attributes (living in the attributes.attributes. namespace) are prefixed by @ when queried. Tags are queried without a prefix.
Expand Down Expand Up @@ -257567,6 +257571,10 @@ paths:
description: |-
Get a list of security findings that match a search query. [See the schema for security findings](https://docs.datadoghq.com/security/guide/findings-schema/).

This endpoint takes the query, sort, and pagination in a JSON request body. `ListSecurityFindings` (`GET /api/v2/security/findings`) accepts the same parameters as URL query parameters and returns the same results, so pick by how you want to send them. Use this endpoint to send the query without URL encoding, for example when it has many quotes, parentheses, or spaces. To get the next page, send `meta.page.after` as `data.attributes.page.cursor` in the request body. The `links.next` URL always points to `ListSecurityFindings`, with the query in the URL.

Use this endpoint rather than `ListFindings` (`GET /api/v2/posture_management/findings`), which uses the legacy security findings data model and is planned for deprecation.

### Query Syntax

The API uses the logs query syntax. Findings attributes (living in the attributes.attributes. namespace) are prefixed by @ when queried. Tags are queried without a prefix.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22913,6 +22913,17 @@ public PaginationIterable<SecurityFindingsData> listSecurityFindingsWithPaginati
* href="https://docs.datadoghq.com/security/guide/findings-schema/">See the schema for security
* findings</a>.
*
* <p>This endpoint takes the query, sort, and pagination as URL query parameters. <code>
* SearchSecurityFindings</code> (<code>POST /api/v2/security/findings/search</code>) accepts the
* same parameters in a JSON request body and returns the same results, so pick by how you want to
* send them. Use this endpoint when the query fits easily in a URL. To send the query in a JSON
* body without URL encoding, use <code>SearchSecurityFindings</code> instead. A <code>
* meta.page.after</code> cursor from either endpoint works on the other.
*
* <p>Use this endpoint rather than <code>ListFindings</code> (<code>
* GET /api/v2/posture_management/findings</code>), which uses the legacy security findings data
* model and is planned for deprecation.
*
* <h3>Query Syntax</h3>
*
* <p>This endpoint uses the logs query syntax. Findings attributes (living in the
Expand Down Expand Up @@ -30336,6 +30347,18 @@ public PaginationIterable<SecurityFindingsData> searchSecurityFindingsWithPagina
* href="https://docs.datadoghq.com/security/guide/findings-schema/">See the schema for security
* findings</a>.
*
* <p>This endpoint takes the query, sort, and pagination in a JSON request body. <code>
* ListSecurityFindings</code> (<code>GET /api/v2/security/findings</code>) accepts the same
* parameters as URL query parameters and returns the same results, so pick by how you want to
* send them. Use this endpoint to send the query without URL encoding, for example when it has
* many quotes, parentheses, or spaces. To get the next page, send <code>meta.page.after</code> as
* <code>data.attributes.page.cursor</code> in the request body. The <code>links.next</code> URL
* always points to <code>ListSecurityFindings</code>, with the query in the URL.
*
* <p>Use this endpoint rather than <code>ListFindings</code> (<code>
* GET /api/v2/posture_management/findings</code>), which uses the legacy security findings data
* model and is planned for deprecation.
*
* <h3>Query Syntax</h3>
*
* <p>The API uses the logs query syntax. Findings attributes (living in the
Expand Down
Loading