pub struct ConfigSecretReport {
pub schema: &'static str,
pub limit: usize,
pub config_keys: usize,
pub secret_named: usize,
pub redacted: usize,
pub declared: usize,
pub unredacted: usize,
pub redacted_not_secret_named: usize,
pub files: usize,
pub items: Vec<ConfigSecretItem>,
}Expand description
An inventory of secret-named config keys and their redaction state.
See config_secrets for what this is and — more importantly — what it is
not.
Fields§
§schema: &'static strStable schema tag (SCHEMA).
limit: usizeThe requested cap on items; 0 means unlimited.
config_keys: usizeEvery config_key node in the graph, secret-named or not — the population
the inventory was drawn from.
secret_named: usizeConfig keys whose name matched the secret-name heuristic. items is
the first limit of these, so secret_named > items.len() means truncation.
redacted: usizeOf secret_named: how many carry the redaction placeholder.
declared: usizeOf secret_named: how many carry no value at all (struct-derived).
unredacted: usizeOf secret_named: how many carry a value that is not the placeholder.
Expected to be zero. A non-zero count is a finding about this store —
see RedactionState::Present for the one path that reaches it.
redacted_not_secret_named: usizeConfig keys that are redacted but whose name is not secret-looking: a
Kubernetes Secret’s data, redacted because of where it lives rather
than what it is called.
Reported so the redaction counts reconcile against the graph: without it a
reader comparing redacted to the number of <redacted> values in the
store would find an unexplained surplus.
files: usizeDistinct files carrying at least one secret-named key.
items: Vec<ConfigSecretItem>The secret-named keys, ordered by (path, name, key).
Trait Implementations§
Source§impl Clone for ConfigSecretReport
impl Clone for ConfigSecretReport
Source§fn clone(&self) -> ConfigSecretReport
fn clone(&self) -> ConfigSecretReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more