Skip to content
This repository was archived by the owner on Jun 9, 2022. It is now read-only.
This repository was archived by the owner on Jun 9, 2022. It is now read-only.

brakeman command options and configuration files #166

@CzarScar

Description

@CzarScar

Description

How can we pass the parameter to brakeman or a configuration files?

Steps to Reproduce

  1. Scan a rails project using Hawkeye images
  2. The project will return error said "ruby-brakeman returned an error! There was an error while executing Brakeman and the report was not created"
  3. And you can only directly using brakeman -d to debug for the error on your terminals.
  4. However, when you fix the issue and using brakeman scan the project successfully. The Hawkeye scan still return error.

Expected behavior: [What you expect to happen]
We can passing parameter to Brakeman command like -d or --fast. And brakeman can also find the configuration files on the project default locations.
Actual behavior: [What actually happens]
Return error and hard to debug and figure out the reason.

Version

v1.8.1

Additional Information

brakeman configuration files link:
https://github.com/presidentbeef/brakeman#configuration-files

brakeman scanning options:
https://github.com/presidentbeef/brakeman/blob/main/OPTIONS.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions