-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
285 additions
and
181 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
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
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
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
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
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
This directory contains all the data label definitions used for classification. | ||
The label metadata is specified in the [`labels.yaml`](labels.yaml) file. Please | ||
see that file's doc comment for more details. | ||
This directory contains all the predefined data label definitions used for | ||
classification. The label metadata is specified in the | ||
[`labels.yaml`](labels.yaml) file, and the classification rules are defined in | ||
individual Rego files for each label. | ||
|
||
Additionally, the classification rule Rego code for each label must be specified | ||
as a `<label>.rego` file, where `<label>` is the name of the label in lowercase. | ||
For example, if the label `ADDRESS` is defined in `labels.yaml`, it should have | ||
an `address.rego` file defined as well. | ||
To add a new predefined label, add its metadata to [`labels.yaml`](labels.yaml) | ||
(following the file's instructions), as well as a corresponding classification | ||
rule Rego file. |
Oops, something went wrong.