Skip to content

Conversation

@cx-andre-pereira
Copy link
Contributor

@cx-andre-pereira cx-andre-pereira commented Oct 26, 2025

Reason for Proposed Changes

  • The "Vault Auditing Disabled" Terraform/azure query is not up to the standard of the related CIS_Microsoft_Azure_Foundations_Benchmark_v5.0.0 entry (6.1.1.4 Ensure that logging for Azure Key Vault is 'Enabled' (Automated)).

  • Page 207 states :

1. Go to Key vaults.
2. For each Key vault, under Monitoring, go to Diagnostic settings.
3. Click Edit setting next to a diagnostic setting.
4. Ensure that a destination is configured.
5. Under Category groups, ensure that audit and allLogs are checked.

Proposed Changes

  • Implemented the query with the check for the necessary category groups.

NOTE: this query still does not ensure that a destination is configured.

I submit this contribution under the Apache-2.0 license.

@github-actions github-actions bot added the query New query feature label Oct 26, 2025
@github-actions
Copy link
Contributor

kics-logo

KICS version: v2.1.13

Category Results
CRITICAL CRITICAL 0
HIGH HIGH 0
MEDIUM MEDIUM 0
LOW LOW 0
INFO INFO 0
TRACE TRACE 0
TOTAL TOTAL 0
Metric Values
Files scanned placeholder 1
Files parsed placeholder 1
Files failed to scan placeholder 0
Total executed queries placeholder 47
Queries failed to execute placeholder 0
Execution time placeholder 0

@cx-andre-pereira cx-andre-pereira changed the title fix(query): "Vault Auditing Disabled" to ensure required log category checks fix(query): updated "Vault Auditing Disabled" query to check for required log category checks Oct 26, 2025
@cx-andre-pereira cx-andre-pereira changed the title fix(query): updated "Vault Auditing Disabled" query to check for required log category checks fix(query): updated "Vault Auditing Disabled" query to check for required log categories Oct 26, 2025
@github-actions github-actions bot added terraform Terraform query azure PR related with Azure Cloud labels Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

azure PR related with Azure Cloud query New query feature terraform Terraform query

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant