Skip to content
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

Error on fail_action #39

Closed
natedenh opened this issue Sep 13, 2020 · 1 comment
Closed

Error on fail_action #39

natedenh opened this issue Sep 13, 2020 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@natedenh
Copy link

When setting fail_action per the documentation I get the following warning.

##[warning]Unexpected input(s) 'fail_action', valid inputs are ['token', 'target', 'rules_file_name', 'docker_name', 'cmd_options', 'issue_title']
Run zaproxy/action-baseline@v0.3.0
  with:
    target: http://***.com
    rules_file_name: .github/workflows/zap_rules.conf
    cmd_options: -a
    fail_action: false
    token: ***
    docker_name: owasp/zap2docker-stable
    issue_title: ZAP Scan Baseline Report
  env:
    DEVELOPER_DIR: /Applications/Xcode_11.2.app/Contents/Developer
    JAVA_VERSION: 1.8
    FLUTTER_CHANNEL: stable
    FLUTTER_WEB_CHANNEL: beta
    FLUTTER_VERSION: 1.20.0
    FLUTTER_HOME: /opt/hostedtoolcache/flutter/1.21.0-9.2.pre-beta/x64

and I get the following result:

FAIL-NEW: 0	FAIL-INPROG: 0	WARN-NEW: 4	WARN-INPROG: 0	INFO: 0	IGNORE: 3	PASS: 52
[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead
##[error]The ZAP Baseline scan has failed, starting to analyze the alerts. err: Error: The process '/usr/bin/docker' failed with exit code 2
@natedenh
Copy link
Author

Seems this will be addressed in the upcoming release

https://groups.google.com/g/zaproxy-users/c/ajgcDxiJn9Q/m/Q53e-DJ0AgAJ

@thc202 thc202 added the duplicate This issue or pull request already exists label Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Development

No branches or pull requests

2 participants