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

Open
matias-jt opened this issue Oct 30, 2023 · 2 comments
Open

Verify if a file exists as a policy #469

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

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.

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 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants