Options
All
  • Public
  • Public/Protected
  • All
Menu
deprecated

Use Censor Logging utilities

Hierarchy

  • LoggerUtils

Index

Properties

Static CENSORED_OPTIONS

CENSORED_OPTIONS: string[] = Censor.CENSORED_OPTIONS
deprecated

Use Censor.CENSORED_OPTIONS

Static Readonly CENSOR_RESPONSE

CENSOR_RESPONSE: "****" = Censor.CENSOR_RESPONSE
deprecated

Use Censor.CENSOR_RESPONSE

Static Readonly SECURE_PROMPT_OPTIONS

SECURE_PROMPT_OPTIONS: string[] = Censor.SECURE_PROMPT_OPTIONS
deprecated

Use Censor.SECURE_PROMPT_OPTIONS

Accessors

Static profileSchemas

Methods

Static censorCLIArgs

  • censorCLIArgs(args: string[]): string[]

Static censorRawData

  • censorRawData(data: string, category?: string): string

Static censorYargsArguments

  • censorYargsArguments(args: Arguments): Arguments
  • Copy and censor a yargs argument object before logging

    deprecated

    Use Censor.censorYargsArguments

    Parameters

    • args: Arguments

      the args to censor

    Returns Arguments

    a censored copy of the arguments

Static isSpecialValue

  • isSpecialValue(prop: string): boolean
  • 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.

    deprecated

    Use Censor.isSpecialValue

    Parameters

    • prop: string

      Property path to determine if it is a special value

    Returns boolean

    True - if the given property is to be treated as a special value; False - otherwise

Static setProfileSchemas

Generated using TypeDoc