Last active
April 17, 2019 23:51
-
-
Save aaron-prindle/b53d3d3687ef442fe113325db5fd4dff to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| FlowSchema ‘Match’ Directives | |
| Equals | |
| Field | |
| Value | |
| Equals does a direct match of the specified field against the value | |
| notEquals | |
| Inverse of the specified ‘Equals’ | |
| InSet | |
| Field | |
| Set | |
| InSet matches the field against a specified set of values | |
| notInSet | |
| Inverse of the specified ‘InSet’ | |
| SuperSet | |
| Field | |
| Set | |
| SuperSet matches that the field specified contains one value (or is a substring of) in the set of specified values | |
| Ex: | |
| - superSet: | |
| field: groups | |
| set: [ "system:masters" ] | |
| Groups = “system:master,system:other” | |
| set: [ "system:masters" ] | |
| Groups contains a value in the set -> a match | |
| notSuperSet | |
| Inverse of the specified ‘SuperSet’ | |
| PatternMatch | |
| Field | |
| Pattern | |
| PatternMatch matches the field against a specified pattern which is evaluated using Go “regexp” | |
| notPatternMatch | |
| Inverse of the specified ‘PatternMatch’ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment