list_standards

Returns the specified attributes optionally filtered by the target type.

Format

emcli list_standards 
      [-attrs="<attribute_list>"] 
      [-sep="<separator>"] 
      [-target_type="<target_type>"]

[ ]  indicates that the parameter is optional.

Options

  • attrs

    Attributes of the compliance standard rule. The <attribute_list> is a comma separated, case insensitive, quote enclosed list of the attributes of interest. If no attributes are specified, then all attributes are returned in the following order:

    • cs_guid: Unique identifier of the compliance standard.

    • cs_iname: Internal name of the compliance standard.

    • cs_dname: Name of the compliance standard name in English.

    • target_type: Applicable target type, for example, host.

    • cs_type: Type of compliance standard. Type the number associated with the desired standard:

      • "1" Repository

      • "2" WebLogic Server Signature

      • "3" Real-time Monitoring

      • "4" Agent side

      • "7" Configuration Drift

      • "8" Configuration Consistency

    • is_system: "0" user defined compliance standard, "1" system defined compliance standard.

    • author: Author of the compliance standard.

    • version: Version of the compliance standard.

    • owner: Owner of the compliance standard.

    • created_date: Date when compliance standard was created.

    • cs_dname_nlsid: National Language Support (NLS) identifier of cs_dname.

    • description_nlsid: National Language Support (NLS) identifier of description.

    • front_matter_nlsid: National Language Support (NLS) identifier of front matter.

    • rear_matter_nlsid: National Language Support (NLS) identifier of rear matter.

    • notice_nlsid: National Language Support (NLS) identifier of notice.

  • sep

    Separator character between column values. If no separator is specified, then a comma "," is used.

  • target_type

    Specifies that only rules of that target type should be returned. If no target type is specified, then the rules for all target types are returned.

Example

The following example lists all the attributes for the host target.

emcli list_standards
      -target_type="host"