Liking cljdoc? Tell your friends :D

puppetlabs.puppetdb.anonymizer


anon-profilesclj

source

anon-profiles-strclj

source

anonymize-aliasesclj

(anonymize-aliases aliases context config)

Anonymize a collection of aliases

Anonymize a collection of aliases
sourceraw docstring

anonymize-catalogclj

(anonymize-catalog config catalog)

Returns an anonymized catalog from an existing catalog

Returns an anonymized catalog from an existing catalog
sourceraw docstring

anonymize-catalog-inputsclj

(anonymize-catalog-inputs config wire-catalog-inputs)

Anonymize a set of catalog inputs

Anonymize a set of catalog inputs
sourceraw docstring

anonymize-catalog-inputs-inputclj

(anonymize-catalog-inputs-input input context config)

Anonymize a catalog-inputs input [type value] pair

Anonymize a catalog-inputs input [type value] pair
sourceraw docstring

anonymize-catalog-inputs-inputsclj

(anonymize-catalog-inputs-inputs inputs context config)

Anonymize the catalog-inputs inputs type/value pairs

Anonymize the catalog-inputs inputs type/value pairs
sourceraw docstring

anonymize-catalog-resourceclj

(anonymize-catalog-resource resource context config)
source

anonymize-catalog-resourcesclj

(anonymize-catalog-resources resources context config)
source

anonymize-configure-expirationclj

(anonymize-configure-expiration config wire-node)

Anonymize a set of expiration configurations

Anonymize a set of expiration configurations
sourceraw docstring

anonymize-containment-pathclj

(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
sourceraw docstring

anonymize-containment-path-elementclj

(anonymize-containment-path-element element context config)

Anonymize a containment path resource reference

Anonymize a containment path resource reference
sourceraw docstring

anonymize-edgeclj

(anonymize-edge edge context config)

Anonymize an edge reference from a catalog

Anonymize an edge reference from a catalog
sourceraw docstring

anonymize-edgesclj

(anonymize-edges edges context config)

Anonymize a collection of edge references from a catalog

Anonymize a collection of edge references from a catalog
sourceraw docstring

anonymize-eventclj

(anonymize-event {:strs [message property old_value new_value] :as event}
                 context
                 config)
source

anonymize-eventsclj

(anonymize-events events context config)
source

anonymize-fact-valuesclj

(anonymize-fact-values facts context config)

Anonymizes fact names and values

Anonymizes fact names and values
sourceraw docstring

anonymize-factsclj

(anonymize-facts config wire-facts)

Anonymize a fact set

Anonymize a fact set
sourceraw docstring

anonymize-leafclj

(anonymize-leaf value ltype context config)

Anonymize leaf data, if the context matches a rule

Anonymize leaf data, if the context matches a rule
sourceraw docstring

anonymize-leaf-memoizeclj

source

anonymize-leaf-valueclj

(anonymize-leaf-value value)

Based on the input value, return an appropriate random replacement

Based on the input value, return an appropriate random replacement
sourceraw docstring

anonymize-logclj

(anonymize-log log context config)
source

anonymize-log-sourceclj

(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.
sourceraw docstring

anonymize-logsclj

(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]
sourceraw docstring

anonymize-lowercase-typeclj

(anonymize-lowercase-type tag context config)

Anonymize a tag

Anonymize a tag
sourceraw docstring

anonymize-metricclj

(anonymize-metric metric context config)
source

anonymize-metricsclj

(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]
sourceraw docstring

anonymize-parameterclj

(anonymize-parameter parameter context config)

Anonymize a parameter/value pair

Anonymize a parameter/value pair
sourceraw docstring

anonymize-parametersclj

(anonymize-parameters parameters context config)

Anonymize the parameters keys and values for a resource

Anonymize the parameters keys and values for a resource
sourceraw docstring

anonymize-referenceclj

(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
sourceraw docstring

anonymize-referencesclj

(anonymize-references rels context config)

Anonymize a collection of references

Anonymize a collection of references
sourceraw docstring

anonymize-reportclj

(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
sourceraw docstring

anonymize-report-resourceclj

(anonymize-report-resource resource context config)
source

anonymize-report-resourcesclj

(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]
sourceraw docstring

anonymize-tagsclj

(anonymize-tags tags context config)

Anonymize a collection of tags

Anonymize a collection of tags
sourceraw docstring

anonymize-textclj

(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.
sourceraw docstring

capitalize-resource-typeclj

(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
sourceraw docstring

catalog?clj

(catalog? catalog)

Returns true if it looks like a catalog

Returns true if it looks like a catalog
sourceraw docstring

edge?clj

(edge? edge)

Returns true if it looks like an edge

Returns true if it looks like an edge
sourceraw docstring

event-schema-strclj

source

log-schema-strclj

source

matcher-match?clj

(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.
sourceraw docstring

metric-schema-strclj

source

pattern->regexpclj

(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
sourceraw docstring

pattern-string?clj

(pattern-string? string)

Returns true if the string looks like a pattern

Returns true if the string looks like a pattern
sourceraw docstring

report-schema-strclj

source

resource-schema-strclj

source

resource?clj

(resource? resource)

Returns true if it looks like a resource

Returns true if it looks like a resource
sourceraw docstring

rule-match?clj

(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.
sourceraw docstring

rules-matchclj

(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
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close