Skip to content

Commit

Permalink
Regenerate client from commit 616d5de2 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Feb 26, 2025
1 parent c410ef9 commit 877d5a2
Show file tree
Hide file tree
Showing 14 changed files with 49,198 additions and 27,188 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-25 17:21:16.485217",
"spec_repo_commit": "7b09d7dd"
"regenerated": "2025-02-26 11:52:41.805921",
"spec_repo_commit": "616d5de2"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-25 17:21:24.922310",
"spec_repo_commit": "7b09d7dd"
"regenerated": "2025-02-26 11:52:50.224239",
"spec_repo_commit": "616d5de2"
}
}
}
124 changes: 124 additions & 0 deletions config/_default/menus/api.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4857,6 +4857,130 @@ menu:
unstable:
- v2
order: 3
- name: Application Security
url: /api/latest/application-security/
identifier: application-security
generated: true
- name: Update a WAF exclusion filter
url: '#update-a-waf-exclusion-filter'
identifier: application-security-update-a-waf-exclusion-filter
parent: application-security
generated: true
params:
versions:
- v2
operationids:
- UpdateApplicationSecurityWafExclusionFilter
unstable: []
order: 5
- name: Get a WAF exclusion filter
url: '#get-a-waf-exclusion-filter'
identifier: application-security-get-a-waf-exclusion-filter
parent: application-security
generated: true
params:
versions:
- v2
operationids:
- GetApplicationSecurityWafExclusionFilter
unstable: []
order: 1
- name: Delete a WAF exclusion filter
url: '#delete-a-waf-exclusion-filter'
identifier: application-security-delete-a-waf-exclusion-filter
parent: application-security
generated: true
params:
versions:
- v2
operationids:
- DeleteApplicationSecurityWafExclusionFilter
unstable: []
order: 6
- name: Create a WAF exclusion filter
url: '#create-a-waf-exclusion-filter'
identifier: application-security-create-a-waf-exclusion-filter
parent: application-security
generated: true
params:
versions:
- v2
operationids:
- CreateApplicationSecurityWafExclusionFilter
unstable: []
order: 2
- name: List all WAF exclusion filters
url: '#list-all-waf-exclusion-filters'
identifier: application-security-list-all-waf-exclusion-filters
parent: application-security
generated: true
params:
versions:
- v2
operationids:
- ListApplicationSecurityWafExclusionFilters
unstable: []
order: 3
- name: Update a WAF Custom Rule
url: '#update-a-waf-custom-rule'
identifier: application-security-update-a-waf-custom-rule
parent: application-security
generated: true
params:
versions:
- v2
operationids:
- UpdateApplicationSecurityWafCustomRule
unstable: []
order: 15
- name: Get a WAF custom rule
url: '#get-a-waf-custom-rule'
identifier: application-security-get-a-waf-custom-rule
parent: application-security
generated: true
params:
versions:
- v2
operationids:
- GetApplicationSecurityWafCustomRule
unstable: []
order: 10
- name: Delete a WAF Custom Rule
url: '#delete-a-waf-custom-rule'
identifier: application-security-delete-a-waf-custom-rule
parent: application-security
generated: true
params:
versions:
- v2
operationids:
- DeleteApplicationSecurityWafCustomRule
unstable: []
order: 16
- name: Create a WAF custom rule
url: '#create-a-waf-custom-rule'
identifier: application-security-create-a-waf-custom-rule
parent: application-security
generated: true
params:
versions:
- v2
operationids:
- CreateApplicationSecurityWafCustomRule
unstable: []
order: 12
- name: List all WAF custom rules
url: '#list-all-waf-custom-rules'
identifier: application-security-list-all-waf-custom-rules
parent: application-security
generated: true
params:
versions:
- v2
operationids:
- ListApplicationSecurityWAFCustomRules
unstable: []
order: 13
- name: Audit
url: /api/latest/audit/
identifier: audit
Expand Down
3 changes: 3 additions & 0 deletions content/en/api/latest/application-security/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Application Security
---
4 changes: 4 additions & 0 deletions content/en/api/v2/application-security/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Application Security
headless: true
---
1,034 changes: 1,034 additions & 0 deletions content/en/api/v2/application-security/examples.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"data": {
"attributes": {
"description": "Exclude false positives on a path",
"enabled": true,
"parameters": [
"list.search.query"
],
"path_glob": "/accounts/*",
"rules_target": [
{
"tags": {
"category": "attack_attempt",
"type": "lfi"
}
}
],
"scope": [
{
"env": "www",
"service": "prod"
}
]
},
"type": "exclusion_filter"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"data": {
"type": "custom_rule",
"attributes": {
"blocking": false,
"conditions": [
{
"operator": "match_regex",
"parameters": {
"inputs": [
{
"address": "server.request.query",
"key_path": [
"id"
]
}
],
"regex": "badactor"
}
}
],
"enabled": false,
"name": "test",
"path_glob": "/test",
"scope": [
{
"env": "test",
"service": "test"
}
],
"tags": {
"category": "attack_attempt",
"test": "1",
"type": "test"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"data": {
"attributes": {
"description": "Exclude false positives on a path",
"enabled": false,
"ip_list": [
"198.51.100.72"
],
"on_match": "monitor"
},
"type": "exclusion_filter"
}
}
21 changes: 21 additions & 0 deletions data/api/v2/CodeExamples.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,27 @@
"description": "Update App returns \"OK\" response"
}
],
"CreateApplicationSecurityWafExclusionFilter": [
{
"group": "application_security",
"suffix": "",
"description": "Create a WAF exclusion filter returns \"OK\" response"
}
],
"UpdateApplicationSecurityWafCustomRule": [
{
"group": "application_security",
"suffix": "",
"description": "Update a WAF Custom Rule returns \"OK\" response"
}
],
"UpdateApplicationSecurityWafExclusionFilter": [
{
"group": "application_security",
"suffix": "",
"description": "Update a WAF exclusion filter returns \"OK\" response"
}
],
"SearchAuditLogs": [
{
"group": "audit",
Expand Down
Loading

0 comments on commit 877d5a2

Please sign in to comment.