Skip to content

Commit 1227d40

Browse files
Merge master into datadog-api-spec/test/teodor.todorov/SYNTH-13677/make-device-ids-only-be-string
2 parents 1db4129 + 9d710a4 commit 1227d40

File tree

8 files changed

+76
-30
lines changed

8 files changed

+76
-30
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-11-15 19:35:16.522070",
8-
"spec_repo_commit": "ad80112e"
7+
"regenerated": "2024-11-19 21:12:16.150137",
8+
"spec_repo_commit": "2e48953d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-11-15 19:35:16.540620",
13-
"spec_repo_commit": "ad80112e"
12+
"regenerated": "2024-11-19 21:12:16.168656",
13+
"spec_repo_commit": "2e48953d"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23335,6 +23335,9 @@ components:
2333523335
apm_service_catalog_read: View service catalog and service definitions.
2333623336
apm_service_catalog_write: Add, modify, and delete service catalog definitions
2333723337
when those definitions are maintained by Datadog.
23338+
appsec_vm_read: View infrastructure, application code and library vulnerabilities.
23339+
This does not restrict access to the vulnerability data source through
23340+
the API or inventory SQL.
2333823341
cases_read: View Cases.
2333923342
cases_write: Create and update cases.
2334023343
ci_visibility_pipelines_write: Create CI Visibility pipeline spans using
@@ -23375,7 +23378,8 @@ components:
2337523378
Remote Configuration for the entire organization.
2337623379
security_monitoring_filters_read: Read Security Filters.
2337723380
security_monitoring_filters_write: Create, edit, and delete Security Filters.
23378-
security_monitoring_findings_read: View CSPM Findings.
23381+
security_monitoring_findings_read: View a list of findings that include
23382+
both misconfigurations and identity risks.
2337923383
security_monitoring_rules_read: Read Detection Rules.
2338023384
security_monitoring_rules_write: Create and edit Detection Rules.
2338123385
security_monitoring_signals_read: View Security Signals.
@@ -36442,7 +36446,8 @@ tags:
3644236446
name: Logs
3644336447
- description: 'Manage configuration of [log indexes](https://docs.datadoghq.com/logs/indexes/).
3644436448

36445-
You need an API and application key with Admin rights to interact with this endpoint.'
36449+
You need an API and non-scoped application key with Admin rights to interact with
36450+
these endpoints.'
3644636451
externalDocs:
3644736452
description: Find out more at
3644836453
url: https://docs.datadoghq.com/logs/indexes/
@@ -36454,11 +36459,12 @@ tags:
3645436459
about processors can be found in the\n [processors documentation](https://docs.datadoghq.com/logs/log_configuration/processors/?tab=api#lookup-processor).\n\n-
3645536460
For more information about Pipelines, see the\n [pipeline documentation](https://docs.datadoghq.com/logs/log_configuration/pipelines).\n\n**Notes:**\n\nThese
3645636461
endpoints are only available for admin users.\nMake sure to use an application
36457-
key created by an admin.\n\n**Grok parsing rules may effect JSON output and require\nreturned
36458-
data to be configured before using in a request.**\nFor example, if you are using
36459-
the data returned from a\nrequest for another request body, and have a parsing
36460-
rule\nthat uses a regex pattern like `\\s` for spaces, you will\nneed to configure
36461-
all escaped spaces as `%{space}` to use\nin the body data."
36462+
key created by an admin with no applied scopes.\n\n**Grok parsing rules may effect
36463+
JSON output and require\nreturned data to be configured before using in a request.**\nFor
36464+
example, if you are using the data returned from a\nrequest for another request
36465+
body, and have a parsing rule\nthat uses a regex pattern like `\\s` for spaces,
36466+
you will\nneed to configure all escaped spaces as `%{space}` to use\nin the body
36467+
data."
3646236468
externalDocs:
3646336469
description: Find out more at
3646436470
url: https://docs.datadoghq.com/logs/log_configuration

.generator/schemas/v2/openapi.yaml

Lines changed: 43 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27145,6 +27145,9 @@ components:
2714527145
apm_service_catalog_read: View service catalog and service definitions.
2714627146
apm_service_catalog_write: Add, modify, and delete service catalog definitions
2714727147
when those definitions are maintained by Datadog.
27148+
appsec_vm_read: View infrastructure, application code and library vulnerabilities.
27149+
This does not restrict access to the vulnerability data source through
27150+
the API or inventory SQL.
2714827151
cases_read: View Cases.
2714927152
cases_write: Create and update cases.
2715027153
ci_visibility_pipelines_write: Create CI Visibility pipeline spans using
@@ -27185,10 +27188,12 @@ components:
2718527188
Remote Configuration for the entire organization.
2718627189
security_monitoring_filters_read: Read Security Filters.
2718727190
security_monitoring_filters_write: Create, edit, and delete Security Filters.
27188-
security_monitoring_findings_read: View CSPM Findings.
27191+
security_monitoring_findings_read: View a list of findings that include
27192+
both misconfigurations and identity risks.
2718927193
security_monitoring_rules_read: Read Detection Rules.
2719027194
security_monitoring_rules_write: Create and edit Detection Rules.
2719127195
security_monitoring_signals_read: View Security Signals.
27196+
security_monitoring_signals_write: Edit Security Signals.
2719227197
security_monitoring_suppressions_read: Read Rule Suppressions.
2719327198
security_monitoring_suppressions_write: Write Rule Suppressions.
2719427199
security_pipelines_read: View Security Pipelines.
@@ -36248,9 +36253,10 @@ paths:
3624836253
/api/v2/posture_management/findings:
3624936254
get:
3625036255
description: "Get a list of findings. These include both misconfigurations and
36251-
identity risks.\n\n### Filtering\n\nFilters can be applied by appending query
36252-
parameters to the URL.\n\n - Using a single filter: `?filter[attribute_key]=attribute_value`\n
36253-
\ - Chaining filters: `?filter[attribute_key]=attribute_value&filter[attribute_key]=attribute_value...`\n
36256+
identity risks.\n\n**Note**: To filter and return only identity risks, add
36257+
the following query parameter: `?filter[tags]=dd_rule_type:ciem`\n\n### Filtering\n\nFilters
36258+
can be applied by appending query parameters to the URL.\n\n - Using a single
36259+
filter: `?filter[attribute_key]=attribute_value`\n - Chaining filters: `?filter[attribute_key]=attribute_value&filter[attribute_key]=attribute_value...`\n
3625436260
\ - Filtering on tags: `?filter[tags]=tag_key:tag_value&filter[tags]=tag_key_2:tag_value_2`\n\nHere,
3625536261
`attribute_key` can be any of the filter keys described further below.\n\nQuery
3625636262
parameters of type `integer` support comparison operators (`>`, `>=`, `<`,
@@ -40801,11 +40807,16 @@ paths:
4080140807
security:
4080240808
- apiKeyAuth: []
4080340809
appKeyAuth: []
40804-
- AuthZ: []
40810+
- AuthZ:
40811+
- security_monitoring_rules_write
4080540812
summary: Run a historical job
4080640813
tags:
4080740814
- Security Monitoring
4080840815
x-codegen-request-body-name: body
40816+
x-permission:
40817+
operator: OR
40818+
permissions:
40819+
- security_monitoring_rules_write
4080940820
x-unstable: '**Note**: This endpoint is in beta and may be subject to changes.
4081040821

4081140822
Please check the documentation regularly for updates.'
@@ -40835,11 +40846,16 @@ paths:
4083540846
security:
4083640847
- apiKeyAuth: []
4083740848
appKeyAuth: []
40838-
- AuthZ: []
40849+
- AuthZ:
40850+
- security_monitoring_signals_write
4083940851
summary: Convert a job result to a signal
4084040852
tags:
4084140853
- Security Monitoring
4084240854
x-codegen-request-body-name: body
40855+
x-permission:
40856+
operator: OR
40857+
permissions:
40858+
- security_monitoring_signals_write
4084340859
x-unstable: '**Note**: This endpoint is in beta and may be subject to changes.
4084440860

4084540861
Please check the documentation regularly for updates.'
@@ -40897,10 +40913,15 @@ paths:
4089740913
security:
4089840914
- apiKeyAuth: []
4089940915
appKeyAuth: []
40900-
- AuthZ: []
40916+
- AuthZ:
40917+
- security_monitoring_rules_read
4090140918
summary: Get a job's details
4090240919
tags:
4090340920
- Security Monitoring
40921+
x-permission:
40922+
operator: OR
40923+
permissions:
40924+
- security_monitoring_rules_read
4090440925
x-unstable: '**Note**: This endpoint is in beta and may be subject to changes.
4090540926

4090640927
Please check the documentation regularly for updates.'
@@ -40928,10 +40949,15 @@ paths:
4092840949
security:
4092940950
- apiKeyAuth: []
4093040951
appKeyAuth: []
40931-
- AuthZ: []
40952+
- AuthZ:
40953+
- security_monitoring_rules_write
4093240954
summary: Cancel a historical job
4093340955
tags:
4093440956
- Security Monitoring
40957+
x-permission:
40958+
operator: OR
40959+
permissions:
40960+
- security_monitoring_rules_write
4093540961
x-unstable: '**Note**: This endpoint is in beta and may be subject to changes.
4093640962

4093740963
Please check the documentation regularly for updates.'
@@ -43809,7 +43835,11 @@ tags:
4380943835

4381043836
See the [Archives Page](https://app.datadoghq.com/logs/pipelines/archives)
4381143837

43812-
for a list of the archives currently configured in Datadog.'
43838+
for a list of the archives currently configured in Datadog.
43839+
43840+
43841+
You need an API and non-scoped application key with Admin rights to interact with
43842+
these endpoints.'
4381343843
externalDocs:
4381443844
description: Find out more at
4381543845
url: https://docs.datadoghq.com/logs/archives/
@@ -43828,8 +43858,11 @@ tags:
4382843858
description: Find out more at
4382943859
url: https://docs.datadoghq.com/logs/log_configuration/forwarding_custom_destinations/
4383043860
name: Logs Custom Destinations
43831-
- description: Manage configuration of [log-based metrics](https://app.datadoghq.com/logs/pipelines/generate-metrics)
43861+
- description: 'Manage configuration of [log-based metrics](https://app.datadoghq.com/logs/pipelines/generate-metrics)
4383243862
for your organization.
43863+
43864+
You need an API and non-scoped application key with Admin rights to interact with
43865+
these endpoints.'
4383343866
externalDocs:
4383443867
description: Find out more at
4383543868
url: https://docs.datadoghq.com/logs/logs_to_metrics/

features/v1/logs_indexes.feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
Feature: Logs Indexes
33
Manage configuration of [log
44
indexes](https://docs.datadoghq.com/logs/indexes/). You need an API and
5-
application key with Admin rights to interact with this endpoint.
5+
non-scoped application key with Admin rights to interact with these
6+
endpoints.
67

78
Background:
89
Given a valid "apiKeyAuth" key in the system

features/v1/logs_pipelines.feature

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ Feature: Logs Pipelines
1010
s/?tab=api#lookup-processor). - For more information about Pipelines, see
1111
the [pipeline documentation](https://docs.datadoghq.com/logs/log_configu
1212
ration/pipelines). **Notes:** These endpoints are only available for
13-
admin users. Make sure to use an application key created by an admin.
14-
**Grok parsing rules may effect JSON output and require returned data to
15-
be configured before using in a request.** For example, if you are using
16-
the data returned from a request for another request body, and have a
17-
parsing rule that uses a regex pattern like `\s` for spaces, you will need
18-
to configure all escaped spaces as `%{space}` to use in the body data.
13+
admin users. Make sure to use an application key created by an admin with
14+
no applied scopes. **Grok parsing rules may effect JSON output and
15+
require returned data to be configured before using in a request.** For
16+
example, if you are using the data returned from a request for another
17+
request body, and have a parsing rule that uses a regex pattern like `\s`
18+
for spaces, you will need to configure all escaped spaces as `%{space}` to
19+
use in the body data.
1920

2021
Background:
2122
Given a valid "apiKeyAuth" key in the system

features/v2/logs_archives.feature

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
Feature: Logs Archives
33
Archives forward all the logs ingested to a cloud storage system. See the
44
[Archives Page](https://app.datadoghq.com/logs/pipelines/archives) for a
5-
list of the archives currently configured in Datadog.
5+
list of the archives currently configured in Datadog. You need an API and
6+
non-scoped application key with Admin rights to interact with these
7+
endpoints.
68

79
Background:
810
Given a valid "apiKeyAuth" key in the system

features/v2/logs_metrics.feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
Feature: Logs Metrics
33
Manage configuration of [log-based
44
metrics](https://app.datadoghq.com/logs/pipelines/generate-metrics) for
5-
your organization.
5+
your organization. You need an API and non-scoped application key with
6+
Admin rights to interact with these endpoints.
67

78
Background:
89
Given a valid "apiKeyAuth" key in the system

lib/datadog_api_client/v2/api/security_monitoring_api.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,6 +1409,8 @@ def list_findings(opts = {})
14091409
#
14101410
# Get a list of findings. These include both misconfigurations and identity risks.
14111411
#
1412+
# **Note**: To filter and return only identity risks, add the following query parameter: `?filter[tags]=dd_rule_type:ciem`
1413+
#
14121414
# ### Filtering
14131415
#
14141416
# Filters can be applied by appending query parameters to the URL.

0 commit comments

Comments
 (0)