C-6: ConnectorRuntime enforces capability_mask per operation.
READ-only ACs cannot invoke MUTATE operations (wipe, lock, retire).
C-7: AC validated against database (exists, active, not expired)
before connector invocation.
C-9: Delegated AC capability bounded by delegator's capability.
C-10: Command counter uses atomic SQL increment with limit check.
M-23: expire_stale() uses same atomic SQL pattern.
H-1: Sensitive credential fields hidden from repr/logs via repr=False.
H-2: Stub backend requires ALLOW_STUB_CREDENTIALS=true to activate.
H-3: Kerberos backend raises CredentialResolutionError instead of
returning stub ticket.
H-4: Chronicle INTENT emitted before execution, RESULT after.
H-5: device_id validated as UUID before Graph API URL interpolation.
H-8: ConnectorRuntime enforces governance for all connector invocations.
Signed-off-by: Tyler King <tking@guildhouse.dev>
83 lines
2.2 KiB
Python
83 lines
2.2 KiB
Python
"""
|
|
pygments.styles.zenburn
|
|
~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
Low contrast color scheme Zenburn.
|
|
|
|
See: https://kippura.org/zenburnpage/
|
|
https://github.com/jnurmine/Zenburn
|
|
|
|
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
|
:license: BSD, see LICENSE for details.
|
|
"""
|
|
|
|
from pygments.style import Style
|
|
from pygments.token import Token, Name, Operator, Keyword, Generic, Comment, \
|
|
Number, String, Literal, Punctuation, Error
|
|
|
|
|
|
__all__ = ['ZenburnStyle']
|
|
|
|
|
|
class ZenburnStyle(Style):
|
|
"""
|
|
Low contrast Zenburn style.
|
|
"""
|
|
|
|
name = 'zenburn'
|
|
|
|
background_color = '#3f3f3f'
|
|
highlight_color = '#484848'
|
|
line_number_color = '#5d6262'
|
|
line_number_background_color = '#353535'
|
|
line_number_special_color = '#7a8080'
|
|
line_number_special_background_color = '#353535'
|
|
|
|
styles = {
|
|
Token: '#dcdccc',
|
|
Error: '#e37170 bold',
|
|
|
|
Keyword: '#efdcbc',
|
|
Keyword.Type: '#dfdfbf bold',
|
|
Keyword.Constant: '#dca3a3',
|
|
Keyword.Declaration: '#f0dfaf',
|
|
Keyword.Namespace: '#f0dfaf',
|
|
|
|
Name: '#dcdccc',
|
|
Name.Tag: '#e89393 bold',
|
|
Name.Entity: '#cfbfaf',
|
|
Name.Constant: '#dca3a3',
|
|
Name.Class: '#efef8f',
|
|
Name.Function: '#efef8f',
|
|
Name.Builtin: '#efef8f',
|
|
Name.Builtin.Pseudo: '#dcdccc',
|
|
Name.Attribute: '#efef8f',
|
|
Name.Exception: '#c3bf9f bold',
|
|
|
|
Literal: '#9fafaf',
|
|
|
|
String: '#cc9393',
|
|
String.Doc: '#7f9f7f',
|
|
String.Interpol: '#dca3a3 bold',
|
|
|
|
Number: '#8cd0d3',
|
|
Number.Float: '#c0bed1',
|
|
|
|
Operator: '#f0efd0',
|
|
|
|
Punctuation: '#f0efd0',
|
|
|
|
Comment: '#7f9f7f italic',
|
|
Comment.Preproc: '#dfaf8f bold',
|
|
Comment.PreprocFile: '#cc9393',
|
|
Comment.Special: '#dfdfdf bold',
|
|
|
|
Generic: '#ecbcbc bold',
|
|
Generic.Emph: '#ffffff bold',
|
|
Generic.Output: '#5b605e bold',
|
|
Generic.Heading: '#efefef bold',
|
|
Generic.Deleted: '#c3bf9f bg:#313c36',
|
|
Generic.Inserted: '#709080 bg:#313c36 bold',
|
|
Generic.Traceback: '#80d4aa bg:#2f2f2f bold',
|
|
Generic.Subheading: '#efefef bold',
|
|
}
|