Singleton implementation of an internal reference to the schema
Helper method to get an internal reference to the loaded profiles
Add a censored option, including it's camelCase and kebabCase versions
The option to censor
Copy and censor any sensitive CLI arguments before logging/printing
The args list to censor
Copy and censor any sensitive CLI arguments before logging/printing
the data to censor
Copy and censor a yargs argument object before logging
the args to censor
Helper function to handle profile schemas when setting the censored options
the profile type configuration to iterate over
Identifies if a property is a secure property
The property to check
Specifies whether a given property path (e.g. "profiles.lpar1.properties.host") is a special value or not. Special value: Refers to any value defined as secure in the schema definition. These values should be already masked by the application (and/or plugin) developer.
Property path to determine if it is a special value
True - if the given property is to be treated as a special value; False - otherwise
Generate and set the list of censored options. Attempt to source the censored options from the schema, config, and/or command being executed.
The objects to use to gather options that should be censored
Helper method to set an internal reference to loaded profiles
The schmas to pass in to set to the logger
Generated using TypeDoc
Basic censorship items - list definitions & initialiazations, etc. *