azure-osconfig icon indicating copy to clipboard operation
azure-osconfig copied to clipboard

Make EnsureNoUnowned and EnsureNoWritables output more readable

Open wupeka opened this issue 6 months ago • 1 comments

Description

Make EnsureNoUnowned and EnsureNoWritables output more readable

Checklist

  • [x] I have read the contribution guidelines.
  • [x] I added unit-tests to validate my changes. All unit tests are passing.
  • [x] I have merged the latest dev branch prior to this PR submission.
  • [x] I ran pre-commit on my changes prior to this PR submission.
  • [x] I submitted this PR against the dev branch.

wupeka avatar Oct 30 '25 09:10 wupeka

Test Results

 64 files  + 63   64 suites  +5   56m 41s ⏱️ + 55m 38s   8 tests  - 959    8 ✅  - 959   0 💤 ± 0  0 ❌ ±0  256 runs   - 711  234 ✅  - 733  22 💤 +22  0 ❌ ±0 

Results for commit 0a5dd021. ± Comparison against base commit 1c7b06f4.

This pull request removes 967 and adds 8 tests. Note that renamed tests count towards both.
AuditdRulesCheckTest ‑ AuditctlCommandFails
AuditdRulesCheckTest ‑ ExcludeOptionsSkipsMatchingRules
AuditdRulesCheckTest ‑ ImmutableRuleCompliant
AuditdRulesCheckTest ‑ ImmutableRuleMissingIsNonCompliant
AuditdRulesCheckTest ‑ InvalidExcludeOptionsRegexReturnsError
AuditdRulesCheckTest ‑ InvalidOverridePathReturnsNonCompliant
AuditdRulesCheckTest ‑ InvalidRequiredOptionsRegexReturnsError
AuditdRulesCheckTest ‑ MultiSyscallOneMissingInFilesIsNonCompliant
AuditdRulesCheckTest ‑ OverridePathMissingFileRuleIsNonCompliant
AuditdRulesCheckTest ‑ OverridePathWithMatchingFileRuleIsCompliant
…
/home/user1/UniversalNRP.Tests.ps1 ‑ Validate Universal NRP.Get.Ensure all resource instances have status
/home/user1/UniversalNRP.Tests.ps1 ‑ Validate Universal NRP.Get.Ensure resons are properly populated
/home/user1/UniversalNRP.Tests.ps1 ‑ Validate Universal NRP.Get.Ensure the total resource instances count
/home/user1/UniversalNRP.Tests.ps1 ‑ Validate Universal NRP.Set.Perform remediation
/mnt/vss/_work/azure-osconfig/azure-osconfig/src/tests/universal-nrp-e2e/UniversalNRP.Tests.ps1 ‑ Validate Universal NRP.Get.Ensure all resource instances have status
/mnt/vss/_work/azure-osconfig/azure-osconfig/src/tests/universal-nrp-e2e/UniversalNRP.Tests.ps1 ‑ Validate Universal NRP.Get.Ensure resons are properly populated
/mnt/vss/_work/azure-osconfig/azure-osconfig/src/tests/universal-nrp-e2e/UniversalNRP.Tests.ps1 ‑ Validate Universal NRP.Get.Ensure the total resource instances count
/mnt/vss/_work/azure-osconfig/azure-osconfig/src/tests/universal-nrp-e2e/UniversalNRP.Tests.ps1 ‑ Validate Universal NRP.Set.Perform remediation

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Oct 30 '25 09:10 github-actions[bot]