Skip to content

Commit

Permalink
workflow tings
Browse files Browse the repository at this point in the history
  • Loading branch information
ammentorp committed Dec 17, 2024
1 parent 37554e0 commit 2a97c35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/actions/security-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Used when span name is `security-control`.
| Attribute | Type | Description | Examples | Requirement Level |
|---------------------------|---|--------------------------------------------------------------|---------------------------------------|-------------------|
| `security.control.method` | string | The method of the custom security control. | `com.Acme.OldSecurity.DoLegacySecurity` | Required |
| `security.control.name` | string | The name of the custom security control. | "My Custom Security Control" | Optional |
| `security.control.name` | string | The name of the custom security control. | "My Custom Security Control" | Recommended |
| `security.control.rules` | string | The rules applicable to the custom security control. | `reflected-xss`; `path-traversal` | Recommended |
| `security.control.type` | string | The custom security control type. | `sanitizer`; `validator` | Optional |
| `security.control.type` | string | The custom security control type. | `sanitizer`; `validator` | Recommended |

`security.control.type` MUST be one of the following:

Expand Down
4 changes: 2 additions & 2 deletions model/trace/contrast-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ groups:
- id: name
brief: >
The name of the custom security control.
requirement_level: optional
requirement_level: recommended
examples: [ "My Custom Security Control" ]
type: string
- id: rules
Expand All @@ -225,7 +225,7 @@ groups:
- id: type
brief: >
The custom security control type.
requirement_level: optional
requirement_level: recommended
examples: [ sanitizer; input-validator ]
type:
allow_custom_values: false
Expand Down

0 comments on commit 2a97c35

Please sign in to comment.