Skip to content

Create jt_naming_validation.rego #17

Closed
ffirg wants to merge 5 commits intoansible:mainfrom
ffirg:ffirg-patch-2
Closed

Create jt_naming_validation.rego #17
ffirg wants to merge 5 commits intoansible:mainfrom
ffirg:ffirg-patch-2

Conversation

@ffirg
Copy link
Copy Markdown
Collaborator

@ffirg ffirg commented Apr 7, 2025

Example how to enforce Job Template naming standards. In this example the JT must be named 'Organisation_Project_Job Template'

ffirg added 3 commits April 7, 2025 12:40
Example REGO policy for checking Controller Project SCM Branch against those that are whitelist accepted
Create project_scm_branch.rego
Comment thread aap_policy_examples/jt_naming_validation.rego Outdated
Comment thread aap_policy_examples/project_scm_branch.rego Outdated
@TheRealHaoLiu
Copy link
Copy Markdown
Member

Added test, removed unused import.

@TheRealHaoLiu
Copy link
Copy Markdown
Member

please add a doc to describe what this policy do and why would someone use it

@ffirg ffirg closed this Apr 8, 2025
@TheRealHaoLiu
Copy link
Copy Markdown
Member

why was this closed?

@ffirg
Copy link
Copy Markdown
Collaborator Author

ffirg commented Apr 8, 2025

I'll clean up, add docs etc so will submit another PR

@ffirg ffirg deleted the ffirg-patch-2 branch April 8, 2025 19:12
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.

2 participants