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

Security Center checks & other static analysis #3890

Open
Tiberriver256 opened this issue Aug 4, 2021 · 2 comments
Open

Security Center checks & other static analysis #3890

Tiberriver256 opened this issue Aug 4, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@Tiberriver256
Copy link

Describe the solution you'd like
I would love to see something similar to tfsec for Bicep except linked up with Azure Security Center somehow. There are so many rules that could be running against our IoC instead of after a deployment. It would be super helpful to catch issues before a PR even gets merged.

@Tiberriver256 Tiberriver256 added the enhancement New feature or request label Aug 4, 2021
@ghost ghost added the Needs: Triage 🔍 label Aug 4, 2021
@alex-frankel alex-frankel changed the title Feature Request: Security Center checks & other static analysis Security Center checks & other static analysis Aug 6, 2021
@alex-frankel
Copy link
Collaborator

We'd love to have as many check as possible in the Bicep linter and Security Center checks definitely make sense. My understanding is that security center checks are implemented via Azure Policy. If that's true, then we need to figure out a way to run policies "locally" against bicep code inside of the linter as a dedicated analyzer.

@BernieWhite
Copy link

@Tiberriver256 Check out PSRule for Azure. https://aka.ms/ps-rule-azure. It extends on the Bicep linters by adding rules that are less structure and syntax which Bicep already does great and focusses of Azure Well-Architected Framework (WAF) alignment. Currently it does not directly import policies, but that is planned work. Currently there are over 250 WAF rules, which is a lot of the policies that are detected via Security Center. We'd love to hear your feedback.

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

No branches or pull requests

3 participants