From 3fcee6c41124c94d78b9e53be6432832d450a9aa Mon Sep 17 00:00:00 2001 From: Sergio Arroutbi Date: Thu, 21 Sep 2023 10:14:39 +0200 Subject: [PATCH] Fix yamllint reported issues for rapidast config Signed-off-by: Sergio Arroutbi --- tools/scan_tools/tang_operator.yaml | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/tools/scan_tools/tang_operator.yaml b/tools/scan_tools/tang_operator.yaml index d879531d..9034c0c6 100644 --- a/tools/scan_tools/tang_operator.yaml +++ b/tools/scan_tools/tang_operator.yaml @@ -6,14 +6,13 @@ config: # It is intended to keep backward compatibility (newer RapiDAST running an older config) configVersion: 4 - # `application` contains data related to the application, not to the scans. +# `application` contains data related to the application, not to the scans. application: - shortName: "tangservers" - url: "https://api.ci-ln-ml9pxxk-76ef8.aws-2.ci.openshift.org:6443/apis/daemons.redhat.com/v1alpha1" + shortName: "tangservers" + url: "https://api.ci-ln-ml9pxxk-76ef8.aws-2.ci.openshift.org:6443/apis/daemons.redhat.com/v1alpha1" # `general` is a section that will be applied to all scanners. general: - authentication: type: "http_header" parameters: @@ -22,7 +21,6 @@ general: # oc get secret $(oc get secret | grep ^default-token | awk '{print $1}') -o json | jq -Mr '.data.token' | base64 -d # oc whoami -t value: "Bearer AUTH_TOKEN_HERE" - container: # currently supported: `podman` and `none` type: "none" @@ -40,14 +38,13 @@ scanners: # optional list of passive rules to disable disabledRules: "2,10015,10027,10096,10024,10054" -# activeScan: -# # If no policy is chosen, a default ("API-scan-minimal") will be selected -# # The list of policies can be found in scanners/zap/policies/ -# policy: "API-scan-minimal" + activeScan: + # If no policy is chosen, a default ("API-scan-minimal") will be selected + # The list of policies can be found in scanners/zap/policies/ + policy: "API-scan-minimal" miscOptions: - # enableUI (default: false), requires a compatible runtime (e.g.: flatpak or no containment) - enableUI: False - # Defaults to True, set False to prevent auto update of ZAP plugins - updateAddons: False - + # enableUI (default: false), requires a compatible runtime (e.g.: flatpak or no containment) + enableUI: false + # Defaults to true, set false to prevent auto update of ZAP plugins + updateAddons: false