Skip to content

automation: Do not warn if "enabled" or "alwaysRun" properties specified #6680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 22, 2025

Conversation

psiinon
Copy link
Member

@psiinon psiinon commented Aug 21, 2025

Simple plan with all jobs disabled

env:
contexts:

  • name: Default Context
    urls:
    • https://www.zaproxy.org
      authentication:
      verification:
      method: response
      pollFrequency: 60
      pollUnits: requests
      sessionManagement:
      method: cookie
      technology: {}
      structure: {}
      parameters: {}
      jobs:
  • type: activeScan-config
    parameters: {}
    inputVectors:
    scripts: true
    enabled: false
    alwaysRun: true
  • type: activeScan-policy
    parameters: {}
    policyDefinition:
    defaultStrength: MEDIUM
    enabled: false
    alwaysRun: true
  • type: alertFilter
    parameters: {}
    enabled: false
    alwaysRun: true
  • type: passiveScan-config
    parameters: {}
    enabled: false
    alwaysRun: true
  • type: replacer
    parameters: {}
    enabled: false
    alwaysRun: true
  • type: script
    parameters:
    name: hi
    type: active
    action: add
    engine: "ECMAScript : Graal.js"
    inline: print('hi');
    enabled: false
    alwaysRun: true
  • type: requestor
    parameters: {}
    enabled: false
    alwaysRun: true
  • type: graphql
    parameters: {}
    enabled: false
    alwaysRun: true
  • type: import
    parameters: {}
    enabled: false
    alwaysRun: true
  • type: openapi
    parameters: {}
    enabled: false
    alwaysRun: true
  • type: postman
    parameters: {}
    enabled: false
    alwaysRun: true
  • type: sequence-import
    parameters: {}
    enabled: false
    alwaysRun: true
  • type: soap
    parameters: {}
    enabled: false
    alwaysRun: true
  • type: spider
    parameters: {}
    enabled: false
    alwaysRun: true
    tests:
    • name: At least 100 URLs found
      type: stats
      onFail: INFO
      statistic: automation.spider.urls.added
      operator: '>='
      value: 100
  • type: spiderAjax
    parameters: {}
    enabled: false
    alwaysRun: true
    tests:
    • name: At least 100 URLs found
      type: stats
      onFail: INFO
      statistic: spiderAjax.urls.added
      operator: '>='
      value: 100
  • type: spiderClient
    parameters: {}
    enabled: false
    alwaysRun: true
  • type: delay
    parameters: {}
    enabled: false
    alwaysRun: true
  • type: passiveScan-wait
    parameters: {}
    enabled: false
    alwaysRun: true
  • type: prune
    parameters: {}
    enabled: false
    alwaysRun: true
  • type: activeScan
    parameters: {}
    policyDefinition:
    defaultStrength: MEDIUM
    enabled: false
    alwaysRun: true
  • type: sequence-activeScan
    parameters: {}
    policyDefinition:
    defaultStrength: MEDIUM
    enabled: false
    alwaysRun: true
  • type: export
    parameters: {}
    enabled: false
    alwaysRun: true
  • type: outputSummary
    parameters: {}
    enabled: false
    alwaysRun: true
  • type: report
    parameters:
    reportTitle: ZAP by Checkmarx Scanning Report
    enabled: false
    alwaysRun: true
  • type: exitStatus
    parameters: {}
    enabled: false
    alwaysRun: true

@psiinon psiinon changed the title automation: Do not warn if "enabled" property specified automation: Do not warn if "enabled" or "alwaysRun" properties specified Aug 21, 2025
@psiinon
Copy link
Member Author

psiinon commented Aug 21, 2025

Updated for alwaysRun and tweaked the example plan to remove some irrelevant warnings.

@psiinon
Copy link
Member Author

psiinon commented Aug 21, 2025

Logo
Checkmarx One – Scan Summary & Details0030cf1a-d751-4aea-aecb-6ae3df2f187c

Fixed Issues (4)

Great job! The following issues were fixed in this Pull Request

Severity Issue Source File / Package
MEDIUM CVE-2025-53864 Maven-com.google.code.gson:gson-2.10.1
MEDIUM CVE-2025-53864 Maven-com.google.code.gson:gson-2.3.1
MEDIUM CVE-2025-53864 Maven-com.google.code.gson:gson-2.11.0
MEDIUM CVE-2025-53864 Maven-com.google.code.gson:gson-2.8.5

@thc202
Copy link
Member

thc202 commented Aug 21, 2025

Thank you!

@kingthorin kingthorin merged commit 0478411 into zaproxy:main Aug 22, 2025
9 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Aug 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants