日本語

一時的イメージスキャン

結果をファイルに書き出す1回限りのスタンドアロンイメージスキャンを実行するには、次のようなコマンドを実行します:

./aikido-local-scan ephemeral-image-scan your-image-name --apikey AIK_CI_xxx

これにより、検出結果が aikido-image-scan-results.json ファイルに書き出されます。

すべてのCLIオプション:

Usage: aikido-local-scanner ephemeral-image-scan [options] <image>

Run an ephemeral image scan that outputs results to a JSON file without persisting findings in Aikido.

Arguments:
  image                     The image you want to scan.

Options:
  --apikey <apikey>                 Apikey to send scanning results to Aikido. (env: AIKIDO_API_KEY)
  --platform <platform>             Set platform (to pull arm64 image on a amd64 system for example)
  --image-name <name>               Specify a name for the scanned image. This overwrites the default behaviour of deducting the image name from the <image> argument.
  --result-output <output>          JSON file to write issues to. (default: "./aikido-image-scan-results.json")
  --output-cyclonedx-json <output>  JSON file to write CycloneDX JSON SBOM to.
  --fail-on <severity>              Exit with a non-zero status code when the scan produces findings at or above the given severity. (choices: "low", "medium", "high", "critical")
  --include-unfixed                 Include CVEs that have no fix available yet (by default only fixable findings are reported).
  --debug                           Add additional debug information to command output.
  --scan-timeout <timeout>          Timeout in milliseconds for each scan (defaults to 900000ms).
  --enable-proxy                    Uses HTTPS_PROXY environment variable to proxy requests
  --ca-bundle <path>                Path to a PEM file containing custom root CA(s) to trust when using --enable-proxy. (env: AIKIDO_CA_BUNDLE)
  --disable-telemetry               Disable all error reporting (telemetry) to Aikido. (env: AIKIDO_DISABLE_TELEMETRY)
  -h, --help                        display help for command