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

cmd/policy/create: not exiting on error #527

Closed
aeneasr opened this issue Jun 16, 2017 · 0 comments
Closed

cmd/policy/create: not exiting on error #527

aeneasr opened this issue Jun 16, 2017 · 0 comments
Assignees
Labels
bug Something is not working.
Milestone

Comments

@aeneasr
Copy link
Member

aeneasr commented Jun 16, 2017

Warning: Skipping TLS Certificate Verification.
Usage:
  hydra policies create [flags]

Flags:
  -a, --actions stringSlice     A list of action regex strings this policy will match to (required)
      --allow                   A list of action regex strings this policy will match to
  -d, --description string      The policy's description
  -f, --files stringSlice       A list of paths to JSON encoded policy files
  -i, --id string               The policy's id
  -r, --resources stringSlice   A list of resource regex strings this policy will match to (required)
  -s, --subjects stringSlice    A list of subject regex strings this policy will match to (required)

Global Flags:
      --config string          config file (default is $HOME/.hydra.yaml)
      --dry                    do not execute the command but show the corresponding curl command instead
      --fake-tls-termination   fake tls termination by adding "X-Forwarded-Proto: https"" to http headers
      --skip-tls-verify        foolishly accept TLS certificates signed by unkown certificate authorities


Got empty subject, resource or action list
Created policy ee8e59d4-f547-40fe-980f-afa303276e9b.
@aeneasr aeneasr added the bug Something is not working. label Jun 16, 2017
@aeneasr aeneasr added this to the 1.0.0: stable release milestone Jun 16, 2017
@aeneasr aeneasr self-assigned this Jun 16, 2017
aeneasr pushed a commit that referenced this issue Jun 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

No branches or pull requests

1 participant