nerdexam
Palo_Alto_Networks

PCCSE · Question #257

Which command correctly outputs scan results to stdout in tabular format and writes scan results to a JSON file while still sending the results to Console?

The correct answer is A. $ twistcli images scan. The twistcli images scan command supports flags to simultaneously output results to stdout in table format, write a JSON file locally, and send results to the Prisma Cloud Console.

Container Security

Question

Which command correctly outputs scan results to stdout in tabular format and writes scan results to a JSON file while still sending the results to Console?

Options

  • A$ twistcli images scan
  • B$ twistcli images scan
  • C$ twistcli images scan
  • D$ twistcli images scan

How the community answered

(43 responses)
  • A
    91% (39)
  • B
    2% (1)
  • C
    5% (2)
  • D
    2% (1)

Why each option

The twistcli images scan command supports flags to simultaneously output results to stdout in table format, write a JSON file locally, and send results to the Prisma Cloud Console.

A$ twistcli images scanCorrect

The correct invocation combines the '--output-file' flag (to write JSON results to a local file) with '--containerized' or the default table output mode, while still connecting to Console via '--address' and credentials. Option A uses the correct combination of flags that satisfies all three output requirements - tabular stdout, JSON file output, and Console reporting - simultaneously, which distinguishes it from the other options that omit or misuse one of these flags.

B$ twistcli images scan

This option uses an incorrect or incomplete set of flags that fails to satisfy one of the three required output targets (stdout table, JSON file, or Console).

C$ twistcli images scan

This option is missing a required flag or uses an incompatible flag combination that prevents one of the three output modes from functioning correctly.

D$ twistcli images scan

This option does not correctly specify all necessary parameters to achieve tabular stdout output, JSON file writing, and Console result submission simultaneously.

Concept tested: twistcli images scan multi-output flag configuration

Source: https://docs.prismacloud.io/en/compute-edition/22-06/admin-guide/tools/twistcli-scan-images

Topics

#twistcli#Image Scanning#Output Formats#Prisma Cloud

Community Discussion

No community discussion yet for this question.

Full PCCSE Practice