antimatter.constants
#
Submodules#
Package Contents#
Classes#
Enum class for defining the operator of the match expression. |
|
Enum class for defining the operation. |
|
Enum class for defining the result. |
|
Enum class for defining the source of a fact policy argument. |
|
Enum class for defining the operator of a fact policy. |
|
Enum representing the available hooks. |
|
Enum class for defining the principal type. |
|
Enum class for defining the type of identity provider. |
|
Enum class for defining the action of the rule. |
|
Enum class for defining the operator of the match expression. |
|
Enum class for defining the source of the match expression. |
|
Enum class for defining the format of the token. |
|
Enum class for defining the scope of the token. |
|
Class representing the mode of the WriteContextHook. |
- class antimatter.constants.CapabilityOperator#
Bases:
str
,enum.Enum
Enum class for defining the operator of the match expression.
- In = 'In'#
- NotIn = 'NotIn'#
- Exists = 'Exists'#
- NotExists = 'NotExists'#
- class antimatter.constants.Operation#
Bases:
str
,enum.Enum
Enum class for defining the operation.
- Edit = 'edit'#
- View = 'view'#
- Use = 'use'#
- class antimatter.constants.Result#
Bases:
str
,enum.Enum
Enum class for defining the result.
- Allow = 'allow'#
- Deny = 'deny'#
- class antimatter.constants.FactArgumentSource#
Bases:
str
,enum.Enum
Enum class for defining the source of a fact policy argument.
- DomainIdentity = 'domainIdentity'#
- Literal = 'literal'#
- Any = 'any'#
- class antimatter.constants.FactOperator#
Bases:
str
,enum.Enum
Enum class for defining the operator of a fact policy.
- Exists = 'Exists'#
- NotExists = 'NotExists'#
- class antimatter.constants.Hook#
Bases:
str
,enum.Enum
Enum representing the available hooks.
- Fast = 'fast-pii'#
- Accurate = 'accurate-pii'#
- Regex = 'regex-classifier'#
- Datastructure = 'data-structure-classifier'#
- LLM = 'llm-classifier'#
- class antimatter.constants.PrincipalType#
Bases:
str
,enum.Enum
Enum class for defining the principal type.
- ApiKey = 'APIKey'#
- Email = 'Email'#
- HostedDomain = 'HostedDomain'#
- class antimatter.constants.ProviderType#
Bases:
str
,enum.Enum
Enum class for defining the type of identity provider.
- GoogleOAuth = 'GoogleOAuth'#
- ApiKey = 'APIKey'#
- MicrosoftOAuth = 'MicrosoftOAuth'#
- class antimatter.constants.Action#
Bases:
str
,enum.Enum
Enum class for defining the action of the rule.
- DenyCapsule = 'DenyCapsule'#
- DenyRecord = 'DenyRecord'#
- Redact = 'Redact'#
- Tokenize = 'Tokenize'#
- Allow = 'Allow'#
- class antimatter.constants.Operator#
Bases:
str
,enum.Enum
Enum class for defining the operator of the match expression.
- In = 'In'#
- NotIn = 'NotIn'#
- Exists = 'Exists'#
- NotExists = 'NotExists'#
- DateDeltaLessThan = 'DateDeltaLessThan'#
- DateDeltaGreaterThan = 'DateDeltaGreaterThan'#
- Any = 'Any'#
- class antimatter.constants.Source#
Bases:
str
,enum.Enum
Enum class for defining the source of the match expression.
- DomainIdentity = 'domainIdentity'#
- ReadParameters = 'readParameters'#
- Tags = 'tags'#
- Literal = 'literal'#
- class antimatter.constants.TokenFormat#
Bases:
str
,enum.Enum
Enum class for defining the format of the token.
- Explicit = 'explicit'#
- Synthetic = 'synthetic'#