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

fix: reference utils files relative to policy lib directory #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jpts
Copy link

@jpts jpts commented Jun 28, 2023

Description

The location of utils rego files are currently hardcoded. If we move the lib folder to outside the current directory, the utils rego files cannot be found.

Motivation and Context

This PR locates the utils rego files relative to the lib path specified on the CLI.

How Has This Been Tested?

I have built the binary with changes and tested locally.

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

@welcome-to-palo-alto-networks

🎉 Thanks for opening this pull request! We really appreciate contributors like you! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant