Closed infamousjoeg closed 1 year ago
Fixes #161 by detecting if policy is being provided via stdin. If stdin is not detected, a file is assumed to be loaded. If file path is not present, error is returned.
Tested successfully using:
cybr conjur append-policy -b root << END_POLICY - !host foo END_POLICY
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 0 Code Smells
No Coverage information 0.0% Duplication
Fixes #161 by detecting if policy is being provided via stdin. If stdin is not detected, a file is assumed to be loaded. If file path is not present, error is returned.
Tested successfully using: