Skip to content

Commit

Permalink
Add priority field to SDS rule and standard-pattern (#21009)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and MaelNamNam committed Jan 17, 2024
1 parent d73751d commit e0a13e3
Show file tree
Hide file tree
Showing 7 changed files with 311 additions and 11 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": "2023-12-13 18:06:06.933677",
"spec_repo_commit": "493effcf"
"regenerated": "2023-12-14 10:51:31.848442",
"spec_repo_commit": "43a99a56"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2023-12-13 18:06:15.255688",
"spec_repo_commit": "493effcf"
"regenerated": "2023-12-14 10:51:41.614847",
"spec_repo_commit": "43a99a56"
}
}
}
15 changes: 10 additions & 5 deletions content/en/api/v2/sensitive-data-scanner/examples.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"tags": [
"sensitive_data:true"
],
"is_enabled": true
"is_enabled": true,
"priority": 1
},
"relationships": {
"group": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"tags": [
"sensitive_data:true"
],
"is_enabled": true
"is_enabled": true,
"priority": 5
},
"relationships": {
"group": {
Expand Down
13 changes: 13 additions & 0 deletions data/api/v2/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16526,6 +16526,12 @@ components:
pattern:
description: Not included if there is a relationship to a standard pattern.
type: string
priority:
description: Integer from 1 (high) to 5 (low) indicating rule issue severity.
format: int64
maximum: 5
minimum: 1
type: integer
tags:
description: List of tags.
items:
Expand Down Expand Up @@ -16681,6 +16687,13 @@ components:
pattern:
description: Regex to match.
type: string
priority:
description: Integer from 1 (high) to 5 (low) indicating standard pattern
issue severity.
format: int64
maximum: 5
minimum: 1
type: integer
tags:
description: List of tags.
items:
Expand Down
140 changes: 140 additions & 0 deletions data/api/v2/full_spec_deref.json
Original file line number Diff line number Diff line change
Expand Up @@ -93047,6 +93047,13 @@
"description": "Not included if there is a relationship to a standard pattern.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating rule issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -93246,6 +93253,13 @@
"description": "Not included if there is a relationship to a standard pattern.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating rule issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -93558,6 +93572,13 @@
"description": "Not included if there is a relationship to a standard pattern.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating rule issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -93938,6 +93959,13 @@
"description": "Not included if there is a relationship to a standard pattern.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating rule issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -95690,6 +95718,13 @@
"description": "Not included if there is a relationship to a standard pattern.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating rule issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -95777,6 +95812,13 @@
"description": "Not included if there is a relationship to a standard pattern.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating rule issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -95949,6 +95991,13 @@
"description": "Not included if there is a relationship to a standard pattern.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating rule issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -96211,6 +96260,13 @@
"description": "Not included if there is a relationship to a standard pattern.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating rule issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -96441,6 +96497,13 @@
"description": "Not included if there is a relationship to a standard pattern.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating rule issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -96621,6 +96684,13 @@
"description": "Not included if there is a relationship to a standard pattern.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating rule issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -96792,6 +96862,13 @@
"description": "Not included if there is a relationship to a standard pattern.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating rule issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -97001,6 +97078,13 @@
"description": "Regex to match.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating standard pattern issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -97078,6 +97162,13 @@
"description": "Regex to match.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating standard pattern issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -97139,6 +97230,13 @@
"description": "Regex to match.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating standard pattern issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -97198,6 +97296,13 @@
"description": "Regex to match.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating standard pattern issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -208198,6 +208303,13 @@
"description": "Not included if there is a relationship to a standard pattern.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating rule issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -209820,6 +209932,13 @@
"description": "Not included if there is a relationship to a standard pattern.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating rule issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -210020,6 +210139,13 @@
"description": "Not included if there is a relationship to a standard pattern.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating rule issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -210519,6 +210645,13 @@
"description": "Not included if there is a relationship to a standard pattern.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating rule issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down Expand Up @@ -210846,6 +210979,13 @@
"description": "Regex to match.",
"type": "string"
},
"priority": {
"description": "Integer from 1 (high) to 5 (low) indicating standard pattern issue severity.",
"format": "int64",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"tags": {
"description": "List of tags.",
"items": {
Expand Down
Loading

0 comments on commit e0a13e3

Please sign in to comment.