(anonymize-aliases aliases context config)Anonymize a collection of aliases
Anonymize a collection of aliases
(anonymize-catalog config catalog)Returns an anonymized catalog from an existing catalog
Returns an anonymized catalog from an existing catalog
(anonymize-catalog-inputs config wire-catalog-inputs)Anonymize a set of catalog inputs
Anonymize a set of catalog inputs
(anonymize-catalog-inputs-input input context config)Anonymize a catalog-inputs input [type value] pair
Anonymize a catalog-inputs input [type value] pair
(anonymize-catalog-inputs-inputs inputs context config)Anonymize the catalog-inputs inputs type/value pairs
Anonymize the catalog-inputs inputs type/value pairs
(anonymize-configure-expiration config wire-node)Anonymize a set of expiration configurations
Anonymize a set of expiration configurations
(anonymize-containment-path path context config)Anonymize a collection of containment path resource references from an event
Anonymize a collection of containment path resource references from an event
(anonymize-containment-path-element element context config)Anonymize a containment path resource reference
Anonymize a containment path resource reference
(anonymize-edge edge context config)Anonymize an edge reference from a catalog
Anonymize an edge reference from a catalog
(anonymize-edges edges context config)Anonymize a collection of edge references from a catalog
Anonymize a collection of edge references from a catalog
(anonymize-event {:strs [message property old_value new_value] :as event}
context
config)(anonymize-fact-values facts context config)Anonymizes fact names and values
Anonymizes fact names and values
(anonymize-facts config wire-facts)Anonymize a fact set
Anonymize a fact set
(anonymize-leaf value ltype context config)Anonymize leaf data, if the context matches a rule
Anonymize leaf data, if the context matches a rule
(anonymize-leaf-value value)Based on the input value, return an appropriate random replacement
Based on the input value, return an appropriate random replacement
(anonymize-log-source source context config)assumes that capital words are types, bracketed phrases are parameter names, and lower-cased words are titles. The last assumption is not valid but is intentionally conservative so that full anonymization doesn't miss edge cases.
assumes that capital words are types, bracketed phrases are parameter names, and lower-cased words are titles. The last assumption is not valid but is intentionally conservative so that full anonymization doesn't miss edge cases.
(anonymize-logs logs context config)Inputs: [logs :- [log-schema-str] context config] Returns: [log-schema-str]
Inputs: [logs :- [log-schema-str] context config] Returns: [log-schema-str]
(anonymize-lowercase-type tag context config)Anonymize a tag
Anonymize a tag
(anonymize-metrics metrics context config)Inputs: [metrics :- [metric-schema-str] context config] Returns: [metric-schema-str]
Inputs: [metrics :- [metric-schema-str] context config] Returns: [metric-schema-str]
(anonymize-parameter parameter context config)Anonymize a parameter/value pair
Anonymize a parameter/value pair
(anonymize-parameters parameters context config)Anonymize the parameters keys and values for a resource
Anonymize the parameters keys and values for a resource
(anonymize-reference rel context config)This anonymizes a reference entry, conditionally anonymizing based on rule
This anonymizes a reference entry, conditionally anonymizing based on rule
(anonymize-references rels context config)Anonymize a collection of references
Anonymize a collection of references
(anonymize-report config report)Inputs: [config report :- report-schema-str] Returns: report-schema-str
Anonymize a report
Inputs: [config report :- report-schema-str] Returns: report-schema-str Anonymize a report
(anonymize-report-resources resources context config)Inputs: [resources :- [resource-schema-str] context config] Returns: [resource-schema-str]
Inputs: [resources :- [resource-schema-str] context config] Returns: [resource-schema-str]
(anonymize-tags tags context config)Anonymize a collection of tags
Anonymize a collection of tags
(anonymize-text text)This is for anonymizing text data where we care only about size, not content.
This is for anonymizing text data where we care only about size, not content.
(capitalize-resource-type type)Converts a downcase resource type to an upcase version such as Foo::Bar
Converts a downcase resource type to an upcase version such as Foo::Bar
(catalog? catalog)Returns true if it looks like a catalog
Returns true if it looks like a catalog
(edge? edge)Returns true if it looks like an edge
Returns true if it looks like an edge
(matcher-match? test value)Compares a rule matcher against a value, returning true if it's a match.
Compares a rule matcher against a value, returning true if it's a match.
(pattern->regexp pattern)Converts a string pattern of the form: /myregexp/ to a proper regexp
Converts a string pattern of the form: /myregexp/ to a proper regexp
(pattern-string? string)Returns true if the string looks like a pattern
Returns true if the string looks like a pattern
(resource? resource)Returns true if it looks like a resource
Returns true if it looks like a resource
(rule-match? rule context)Given a single rule map, and a context map returns true if the rule matches.
We perform this test by iterating across all the keys defined in the rule, and seeing if the matchers in the value match against the data in the context.
We'll only return true if single defined matcher is matched.
Given a single rule map, and a context map returns true if the rule matches. We perform this test by iterating across all the keys defined in the rule, and seeing if the matchers in the value match against the data in the context. We'll only return true if single defined matcher is matched.
(rules-match rules context)Cycles through a set of rules, return the value of the :anonymize parameter if there is a match
Cycles through a set of rules, return the value of the :anonymize parameter if there is a match
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |