Issue with bicep and httpsOnly/minimalTls #7491
-
Hi all, I'm currently testing if Kics would work in our workflow. But I'm finding that the checks:
Are always flagged. I have the following resource in bicep:
does not matter what I do, the 3 above are always flagged. anyone an idea what I'm doing wrong or what is going on here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @chielboogaard! I ran a scan using the Bicep code you provided and got three findings, but only one of them matches the checks you mentioned:
In addition, I received two other findings unrelated to your original report. Here’s the scan summary and the full results: Let me know if you'd like help with suppressing specific checks or narrowing down your scan scope. |
Beta Was this translation helpful? Give feedback.
Hi @chielboogaard!
Thanks for sharing your issue and apologies for the delayed reply!
I ran a scan using the Bicep code you provided and got three findings, but only one of them matches the checks you mentioned:
httpsOnly: true
is correctly set, so “Website Not Forcing HTTPS” was not flagged in my scan.minTlsVersion
is set to '1.2' and KICS expects '1.3' to satisfy that check as for the new query update;http20Enabled:true
is also set correctly, so “Website with 'Http20Enabled' Disabled” was not flagged.In addition, I received two other findings unrelated to your original report.
Here’s the scan summary and the full results:
dis…