掃描密碼
為 scan.ozsettings 檔中所有應用程式、專案和資料夾全域啟用密碼掃描器。
在 <data_dir>/config/scan.ozsettings 檔中將 enable_secrets_scanner 設定編輯為 true,即可為所有應用程式、專案和資料夾啟用密碼掃描器。
enable_secrets_scanner 的預設值為 false。
例如,在 scan.ozsettings 中,尋找如以下所示的設定,然後將 value="false" 變更為 value="true"。
<Setting
name="enable_secrets_scanner"
read_only="false"
default_value="false"
description="Enable the secrets scanner for all applications projects and folders. When set to true, the secrets scanner is automatically activated for every scan.
When set to false, secrets scanning must be enabled on a per-application or per-project basis."
type="bool"
value="false"
display_name="Enable Secrets Scanner"
hidden="true"
/>
在 scan.ozsettings 中啟用密碼掃描時,AppScan® Source 會在主控台日誌顯示訊息:Secrets scanning is enabled globally via the scan.ozsettings file。