Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Fix yamllint reported issues for rapidast config #154

Merged
merged 1 commit into from
Sep 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 11 additions & 14 deletions tools/scan_tools/tang_operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"
Expand All @@ -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