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

Enable "cybr conjur *-policy..." to read from stdin #161

Closed
jodyhuntatx opened this issue Aug 10, 2022 · 1 comment · Fixed by #181
Closed

Enable "cybr conjur *-policy..." to read from stdin #161

jodyhuntatx opened this issue Aug 10, 2022 · 1 comment · Fixed by #181
Assignees
Labels
enhancement New feature or request

Comments

@jodyhuntatx
Copy link

jodyhuntatx commented Aug 10, 2022

Want to be able to do something like this in a script:

cybr conjur append-policy -b root -f -- << END_POLICY
- !host foo
END_POLICY
@infamousjoeg infamousjoeg self-assigned this Nov 22, 2022
@infamousjoeg infamousjoeg added the enhancement New feature or request label Nov 22, 2022
@infamousjoeg
Copy link
Owner

example of implementation: https://github.com/napicella/go-linux-pipes/blob/master/cmd.go

@infamousjoeg infamousjoeg linked a pull request Nov 23, 2022 that will close this issue
infamousjoeg added a commit that referenced this issue Nov 23, 2022
* Fixes #161 adds stdin support for policy load

* resolve code smell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants