Fortinet white logo
Fortinet white logo

CLI Reference

lacework vulnerability host show-assessment

lacework vulnerability host show-assessment

Show results of a host vulnerability assessment

Synopsis

Show results of a host vulnerability assessment.

To find the machine id from hosts in your environment, use the command:

lacework vulnerability host list-cves

Grab a CVE id and feed it to the command:

lacework vulnerability host list-hosts my_cve_id
lacework vulnerability host show-assessment <machine_id> [flags]

Options

      --active                    only show vulnerabilities of packages actively running in your environment
      --collector_type string     filter assessments by collector type (Agent or Agentless) (default "Agentless")
      --csv                       output vulnerability assessment in CSV format
      --details                   increase details of a vulnerability assessment
      --fail_on_fixable           fail if the assessed container has fixable vulnerabilities
      --fail_on_severity string   specify a severity threshold to fail if vulnerabilities are found (critical, high, medium, low, info)
      --fixable                   only show fixable vulnerabilities
  -h, --help                      help for show-assessment
      --packages                  show a list of packages with CVE count
      --severity string           filter vulnerability assessment by severity threshold (critical, high, medium, low, info)

Options inherited from parent commands

  -a, --account string      account subdomain of URL (i.e. <ACCOUNT>.lacework.net)
  -k, --api_key string      access key id
  -s, --api_secret string   secret access key
      --api_token string    access token (replaces the use of api_key and api_secret)
      --debug               turn on debug logging
      --json                switch commands output from human-readable to json format
      --nocache             turn off caching
      --nocolor             turn off colors
      --noninteractive      turn off interactive mode (disable spinners, prompts, etc.)
      --organization        access organization level data sets (org admins only)
  -p, --profile string      switch between profiles configured at ~/.lacework.toml
      --subaccount string   sub-account name inside your organization (org admins only)

See also

lacework vulnerability host show-assessment

lacework vulnerability host show-assessment

Show results of a host vulnerability assessment

Synopsis

Show results of a host vulnerability assessment.

To find the machine id from hosts in your environment, use the command:

lacework vulnerability host list-cves

Grab a CVE id and feed it to the command:

lacework vulnerability host list-hosts my_cve_id
lacework vulnerability host show-assessment <machine_id> [flags]

Options

      --active                    only show vulnerabilities of packages actively running in your environment
      --collector_type string     filter assessments by collector type (Agent or Agentless) (default "Agentless")
      --csv                       output vulnerability assessment in CSV format
      --details                   increase details of a vulnerability assessment
      --fail_on_fixable           fail if the assessed container has fixable vulnerabilities
      --fail_on_severity string   specify a severity threshold to fail if vulnerabilities are found (critical, high, medium, low, info)
      --fixable                   only show fixable vulnerabilities
  -h, --help                      help for show-assessment
      --packages                  show a list of packages with CVE count
      --severity string           filter vulnerability assessment by severity threshold (critical, high, medium, low, info)

Options inherited from parent commands

  -a, --account string      account subdomain of URL (i.e. <ACCOUNT>.lacework.net)
  -k, --api_key string      access key id
  -s, --api_secret string   secret access key
      --api_token string    access token (replaces the use of api_key and api_secret)
      --debug               turn on debug logging
      --json                switch commands output from human-readable to json format
      --nocache             turn off caching
      --nocolor             turn off colors
      --noninteractive      turn off interactive mode (disable spinners, prompts, etc.)
      --organization        access organization level data sets (org admins only)
  -p, --profile string      switch between profiles configured at ~/.lacework.toml
      --subaccount string   sub-account name inside your organization (org admins only)

See also