antimatter.constants#

Submodules#

Package Contents#

Classes#

CapabilityOperator

Enum class for defining the operator of the match expression.

Operation

Enum class for defining the operation.

Result

Enum class for defining the result.

FactArgumentSource

Enum class for defining the source of a fact policy argument.

FactOperator

Enum class for defining the operator of a fact policy.

Hook

Enum representing the available hooks.

PrincipalType

Enum class for defining the principal type.

ProviderType

Enum class for defining the type of identity provider.

Action

Enum class for defining the action of the rule.

Operator

Enum class for defining the operator of the match expression.

Source

Enum class for defining the source of the match expression.

TokenFormat

Enum class for defining the format of the token.

TokenScope

Enum class for defining the scope of the token.

WriteContextHookMode

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'#
class antimatter.constants.TokenScope#

Bases: str, enum.Enum

Enum class for defining the scope of the token.

Unique = 'unique'#
Capsule = 'capsule'#
Domain = 'domain'#
class antimatter.constants.WriteContextHookMode#

Bases: str, enum.Enum

Class representing the mode of the WriteContextHook.

Sync = 'sync'#
Async = 'async'#