一時的イメージスキャン
./aikido-local-scan ephemeral-image-scan your-image-name --apikey AIK_CI_xxx使用法: aikido-local-scanner ephemeral-image-scan [options] <image>
Aikido に検出結果を保存せず、結果を JSON ファイルに出力する一時的なイメージスキャンを実行します。
引数:
image スキャンしたいイメージ。
オプション:
--apikey <apikey> スキャン結果を Aikido に送信するための API キー。(env: AIKIDO_API_KEY)
--platform <platform> プラットフォームを設定します(例: amd64 システムで arm64 イメージを取得する場合)
--image-name <name> スキャンするイメージの名前を指定します。これは、<image> 引数からイメージ名を推測する既定の動作を上書きします。
--result-output <output> 問題を書き出す JSON ファイル。(default: "./aikido-image-scan-results.json")
--fail-on <severity> スキャンで指定した重大度以上の検出結果がある場合、ゼロ以外の終了ステータスコードで終了します。(choices: "low", "medium", "high", "critical")
--include-unfixed まだ修正方法がない CVE も含めます(既定では修正可能な検出結果のみ報告されます)。
--debug コマンド出力に追加のデバッグ情報を加えます。
--scan-timeout <timeout> 各スキャンのタイムアウト(ミリ秒)。(default: 900000ms)
--enable-proxy HTTPS_PROXY 環境変数を使用してリクエストをプロキシします
--ca-bundle <path> --enable-proxy 使用時に信頼するカスタムルート CA を含む PEM ファイルへのパス。(env: AIKIDO_CA_BUNDLE)
-h, --help コマンドのヘルプを表示します最終更新
役に立ちましたか?