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

Add stdin support for reading policy #188

Merged
merged 4 commits into from
Mar 25, 2021

Commits on Mar 23, 2021

  1. Add stdin support for reading policy

    * Add ability to read from  stdin for a policy to be analyzed such as
      `cat file.json | parliament`
    * Adds new FileType argument to read from stdin and don't allow both
      --file and stdin
    * Implements duo-labs#163
    briandbecker committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    2abd4b7 View commit details
    Browse the repository at this point in the history
  2. Simplify implementation to use single parameter

    * Since we can test if we are using stdin vs --file attribute we can
      just use the same attribute instead of 2
    briandbecker committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    5c9bf2e View commit details
    Browse the repository at this point in the history
  3. Update argument help

    briandbecker committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    03b56d0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    293cb62 View commit details
    Browse the repository at this point in the history