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

Verify if a file exists as a policy #469

Closed
matias-jt opened this issue Oct 30, 2023 · 3 comments
Closed

Verify if a file exists as a policy #469

matias-jt opened this issue Oct 30, 2023 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@matias-jt
Copy link

Hello!

I'd like to know if it is possible to create a policy that will verify the existence of a specific file inside a repository?

Thanks in advance,
Matias

@ArisBee
Copy link

ArisBee commented Nov 22, 2023

Hi @matias-jt,

Yes, that's doable if you duplicate the security.go check and replace SECURITY.md variable in polName.

@raghavkaul raghavkaul added enhancement New feature or request duplicate This issue or pull request already exists labels Mar 11, 2024
@raghavkaul
Copy link

Possibly a duplicate of #450, although that one is more specific to the SECURITY.md check.

@jeffmendoza
Copy link
Member

Though #500 was created later, there is more design work there, so closing this as duplicate of that.

@jeffmendoza jeffmendoza removed the enhancement New feature or request label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants