-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Security Controls Action Documentation
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Semantic Conventions for `security-control` Actions | ||
|
||
Used when span name is `security-control`. | ||
|
||
<!-- semconv contrast.action.span.security-control(full) --> | ||
| 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.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` MUST be one of the following: | ||
|
||
| Value | Description | | ||
|---------------------|-----------------| | ||
| `sanitizer` | Sanitizer | | ||
| `input-validator` | Input Validator | | ||
| `regex-validator` | Regex Validator | | ||
<!-- endsemconv --> |