Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
5b72bda
fix(ad): preserve collection evidence and expand directory metadata
Snozz-Al Nov 8, 2026
ba219e5
fix(ad): consolidate GPO age and direct-link inventories
Snozz-Al Nov 8, 2026
41e557d
refactor(ad): consolidate GPO permission and link checks
Snozz-Al Nov 8, 2026
0a32860
fix(ad): consolidate GPO version and exposed-password checks
Snozz-Al Nov 8, 2026
4f354a2
refactor(ad): consolidate DACL conflict and deny inventories
Snozz-Al Nov 8, 2026
e51ff26
refactor(ad): consolidate DACL identity and privileged rights invento…
Snozz-Al Nov 8, 2026
3361b03
refactor(ad): consolidate DACL unresolved identities and inheritance
Snozz-Al Nov 8, 2026
811414c
fix(ad): distinguish directory configuration inventories from baselines
Snozz-Al Nov 8, 2026
b6c8422
fix(ad): consolidate tombstone and optional-feature assessments
Snozz-Al Nov 8, 2026
6fe413e
fix(ad): fail KDS readiness when no root keys exist
Snozz-Al Nov 8, 2026
8259b17
fix(ad): consolidate non-DC delegation assessments
Snozz-Al Nov 8, 2026
9d1b59b
refactor(ad): consolidate computer OS DNS and dormancy checks
Snozz-Al Nov 8, 2026
32c4852
fix(ad): make computer inventory outcomes and placement checks accurate
Snozz-Al Nov 8, 2026
ac946d4
refactor(ad): consolidate complete group membership inventories
Snozz-Al Nov 8, 2026
22e334f
fix(ad): consolidate group reviews and configurable age thresholds
Snozz-Al Nov 8, 2026
9545e96
refactor(ad): consolidate SPN inventories and delegation details
Snozz-Al Nov 8, 2026
efb7654
fix(ad): assess SPNs on effective Domain Admins membership
Snozz-Al Nov 8, 2026
9075c0a
fix(ad): consolidate schema SASL and managed service account checks
Snozz-Al Nov 8, 2026
12775a0
fix(ad): consolidate trust filtering and validation reviews
Snozz-Al Nov 8, 2026
ab5001d
fix(ad): regenerate legacy tag mappings for consolidated checks
Snozz-Al Nov 8, 2026
56ca381
fix(ad): restore managed account delegation and verify DC identities
Snozz-Al Nov 8, 2026
4efd5ca
fix(ad): distinguish hidden KDS keys from missing inventory
Snozz-Al Nov 8, 2026
f931ddb
fix(ad): gate GPO parsing and reject incomplete group age data
Snozz-Al Nov 8, 2026
fc6a528
fix(ad): normalize cached AD collector evidence
Snozz-Al Nov 8, 2026
da6d453
fix(ad): consolidate user delegation assessment
Snozz-Al Nov 8, 2026
4775355
fix(ad): assess user lifecycle and protected identities
Snozz-Al Nov 8, 2026
c299c13
fix(ad): assess effective user password expiration
Snozz-Al Nov 8, 2026
04dba4c
fix(ad): assess user authentication flags
Snozz-Al Nov 8, 2026
e4f7c2f
fix(ad): assess user ownership and account governance
Snozz-Al Nov 8, 2026
9410418
fix(ad): consolidate approved user path assessment
Snozz-Al Nov 8, 2026
a1db65f
fix(ad): consolidate account pattern inventories
Snozz-Al Nov 8, 2026
a7fd7a3
fix(ad): consolidate built-in administrator hygiene
Snozz-Al Nov 8, 2026
bdfe743
fix(ad): consolidate CA and template inventories
Snozz-Al Nov 8, 2026
e2f5cfb
fix(ad): consolidate certificate and revocation inventories
Snozz-Al Nov 8, 2026
251452b
fix(ad): consolidate replication transport inventory
Snozz-Al Nov 8, 2026
998d4d6
fix(ad): separate fine-grained policy settings and usage
Snozz-Al Nov 8, 2026
988e801
fix(ad): consolidate default domain password safeguards
Snozz-Al Nov 8, 2026
56f4bb8
fix(ad): assess site inventory and DC coverage
Snozz-Al Nov 8, 2026
2c4c0bb
fix(ad): consolidate bidirectional site subnet associations
Snozz-Al Nov 8, 2026
9dcd1f4
fix(ad): consolidate subnet address inventories
Snozz-Al Nov 8, 2026
74780e3
fix(ad): assess OU naming age and visible children
Snozz-Al Nov 8, 2026
b2ef0a8
fix(ad): assess FSMO placement from stable owner evidence
Snozz-Al Nov 8, 2026
1b2f598
fix(ad): assess forest DC operating system releases
Snozz-Al Nov 8, 2026
b3f2407
fix(ad): clarify DC topology inventory cross references
Snozz-Al Nov 8, 2026
b49d353
fix(ad): consolidate DC service metadata and GC assessment
Snozz-Al Nov 8, 2026
19abaae
fix(ad): assess connected domain state
Snozz-Al Nov 8, 2026
343d2ca
fix(ad): consolidate domain naming validity
Snozz-Al Nov 8, 2026
7186dab
fix(ad): assess forest state and suffix crosswalks
Snozz-Al Nov 8, 2026
5384c24
fix(ad): clarify related inventories and coverage crosswalks
Snozz-Al Nov 8, 2026
5f3dc81
fix(ad): preserve consolidation mappings URLs and upgrade guidance
Snozz-Al Nov 8, 2026
ad431f8
fix(ad): preserve actual computer creator SID attribute
Snozz-Al Nov 8, 2026
0bd33f1
fix(ad): restore computer inventory outcomes and interpretation
Snozz-Al Nov 8, 2026
3d8d154
fix(ad): retain DACL assessment context and conventions
Snozz-Al Nov 8, 2026
248d6fd
fix(ad): retain directory configuration assessment context
Snozz-Al Nov 8, 2026
fab1fe6
fix(ad): retain DC service and placement context
Snozz-Al Nov 8, 2026
c3271ad
fix(ad): retain domain and forest assessment context
Snozz-Al Nov 8, 2026
8014d50
fix(ad): retain GPO report assessment context and conventions
Snozz-Al Nov 8, 2026
36e4937
fix(ad): clarify GPO state inventory references
Snozz-Al Nov 8, 2026
8f5b9be
fix(ad): preserve GPO link inventory and unknown-data outcomes
Snozz-Al Nov 8, 2026
fc25f97
fix(ad): distinguish group organization from policy scope
Snozz-Al Nov 8, 2026
6e6c68a
fix(ad): verify group member inventory and connection cleanup
Snozz-Al Nov 8, 2026
043e23c
fix(ad): document directory capability and replication context
Snozz-Al Nov 8, 2026
1b568b6
fix(ad): cover Windows and legacy LAPS schema readiness
Snozz-Al Nov 8, 2026
a3c1d10
fix(ad): distinguish service account inventory from credential evidence
Snozz-Al Nov 8, 2026
1e71881
fix(ad): retain site subnet and OU interpretation
Snozz-Al Nov 8, 2026
6a771f6
fix(ad): retain printer inventory context
Snozz-Al Nov 8, 2026
a4479d4
fix(ad): retain SPN inventory context and outcomes
Snozz-Al Nov 8, 2026
a2d7a17
fix(ad): retain trust inventory context and outcomes
Snozz-Al Nov 8, 2026
b7dea5d
fix(ad): retain password policy assessment context and conventions
Snozz-Al Nov 8, 2026
4e1635d
fix(ad): identify related DNS checks by full identity
Snozz-Al Nov 8, 2026
8c979e1
fix(ad): retain user authentication assessment context
Snozz-Al Nov 8, 2026
c90bc4b
fix(ad): retain user governance and path assessment context
Snozz-Al Nov 8, 2026
5b5f66c
fix(ad): validate AD report outcomes and guide references
Snozz-Al Nov 8, 2026
06a4cbf
fix(ad): document AD review compatibility and opt-in scans
Snozz-Al Nov 8, 2026
ec70bb0
fix(ad): resolve analyzer warnings in password and certificate checks
Snozz-Al Nov 9, 2026
4980b10
fix(ad): restore functional inventory and scoped DC assessments
Snozz-Al Nov 9, 2026
0ffdf19
style(ad): render assessment metrics as tables and lists
Snozz-Al Nov 9, 2026
8f83b50
Merge branch 'maester365:main' into ad-test-consolidation
soulemike Nov 9, 2026
1b0529f
fix(ad): restore computer inventory outcomes and interpretation
Snozz-Al Nov 9, 2026
e833628
fix(ad): retain directory configuration assessment context
Snozz-Al Nov 9, 2026
32c7262
fix(ad): retain DC service and placement context
Snozz-Al Nov 9, 2026
a625d42
fix(ad): retain domain and forest assessment context
Snozz-Al Nov 9, 2026
093d151
fix(ad): retain GPO report assessment context and conventions
Snozz-Al Nov 9, 2026
45b467b
fix(ad): preserve GPO link inventory and unknown-data outcomes
Snozz-Al Nov 9, 2026
b8015dc
fix(ad): verify group member inventory and connection cleanup
Snozz-Al Nov 9, 2026
5f136d5
fix(ad): distinguish service account inventory from credential evidence
Snozz-Al Nov 9, 2026
4d46f5a
fix(ad): retain site subnet and OU interpretation
Snozz-Al Nov 9, 2026
9d83875
fix(ad): retain printer inventory context
Snozz-Al Nov 9, 2026
82958bf
fix(ad): retain password policy assessment context and conventions
Snozz-Al Nov 9, 2026
fd6e4b0
fix(ad): retain user authentication assessment context
Snozz-Al Nov 9, 2026
66e170a
fix(ad): retain user governance and path assessment context
Snozz-Al Nov 9, 2026
b92d0b9
fix(ad): validate AD report outcomes and guide references
Snozz-Al Nov 9, 2026
bf1709d
fix(ad): document AD review compatibility and opt-in scans
Snozz-Al Nov 9, 2026
d2ee182
feat(ad): inspect NTAuth CA certificate paths offline
FiraSenax Nov 14, 2026
76b765f
docs(ad): clarify NTAuth path scope and native invocation
FiraSenax Nov 14, 2026
a95f6db
fix(ad): decode LDAP-projected DER certificate arrays
FiraSenax Nov 14, 2026
cd264a6
fix(ad): handle published CA arrays and expand NTAuth path coverage
FiraSenax Nov 15, 2026
7d0232a
fix(ad): reconcile consolidation with current main
FiraSenax Nov 17, 2026
90fdbb8
fix(ad): integrate repaired consolidation for NTAuth paths
FiraSenax Nov 17, 2026
38bd4f9
fix(ad): preserve typed OU modification dates
FiraSenax Nov 17, 2026
92405fc
build: refresh authoring data after AD consolidation
FiraSenax Nov 17, 2026
5e43dc5
fix(ad): include consolidation date and metadata repairs
FiraSenax Nov 17, 2026
809eda8
fix(ad): normalize LDAP certificate byte projections
FiraSenax Nov 17, 2026
b7b1acb
fix(ad): share LDAP certificate projection normalization
FiraSenax Nov 17, 2026
39cb389
test(ad): justify the in-memory certificate fixture factory
FiraSenax Nov 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 7 additions & 7 deletions build/golden/Export-MtLegacyTagTable.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
-Tag CA, -Tag CIS, -ExcludeTag MS.AAD.3.5 and every other 2.x tag keep selecting the same tests, the
module ships a table that maps each 2.x tag to the IDs of the built-in tests that carried it.

The table is derived from two frozen files and nothing else, so the output never changes with tests/:
The table is derived from two frozen files and explicit native test replacements:

powershell/tests/fixtures/golden/tags-and-blocks.json the tags of every built-in test in 2.x
powershell/tests/fixtures/golden/tags-3.0-preview.json tags the 3.0 previews added (for example AI)
powershell/tests/fixtures/golden/tags-3.0-preview.json tags the 3.0 previews added (for example AI)
build/golden/native-test-replacements.psd1 intentional renames and consolidations

Rules:
- A tag is matched case-insensitively; the table keeps the first spelling of the snapshot.
Expand All @@ -22,7 +23,8 @@
obvious one ($Replacements below, and -Severity for Severity:<value>). The engine names it in the
warning it writes when a run selects through the tag.

Tests added after 3.0 are not in the table. The file is generated once and is not edited by hand;
Tests added after 3.0 are not in the table unless they explicitly replace a historical check.
The file is regenerated when native replacements change and is never edited by hand;
powershell/tests/functions/golden/Golden.Tests.ps1 checks that it is what this script produces.

.EXAMPLE
Expand All @@ -49,10 +51,8 @@ $ErrorActionPreference = 'Stop'
$RepoRoot = (Resolve-Path -Path $RepoRoot).Path
$fixtures = Join-Path $RepoRoot 'powershell/tests/fixtures/golden'

# 2.x IDs that have another ID in 3.0.
$RenamedIds = @{
'MT1060' = 'MT.1060' # The drift family: four Its per folder in 2.x, one native family in 3.0.
}
# Explicit replacements, never a dynamic filter that could hide an accidental test deletion.
$RenamedIds = Import-PowerShellDataFile -LiteralPath (Join-Path $RepoRoot 'build/golden/native-test-replacements.psd1')

# The typed selector that takes the place of a tag. Only tags with an obvious one are listed.
$Replacements = [ordered]@{
Expand Down
95 changes: 95 additions & 0 deletions build/golden/native-test-replacements.psd1
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
@{
# Explicit native test consolidations. Frozen 2.x tags select these surviving checks.
'MT1060' = 'MT.1060'
'AD-CFG-01' = 'AD-FOR-03'
'AD-CFG-04' = 'AD-FEAT-01'
'AD-CFG-05' = 'AD-FOR-04'
'AD-COMP-02' = 'AD-DCOMP-06'
'AD-COMP-09' = 'AD-DCOMP-01'
'AD-COMP-10' = 'AD-DCOMP-03'
'AD-DACL-04' = 'AD-DACL-03'
'AD-DACL-06' = 'AD-DACL-05'
'AD-DACL-08' = 'AD-DACL-07'
'AD-DACL-10' = 'AD-DACL-09'
'AD-DACL-12' = 'AD-DACL-11'
'AD-DACL-13' = 'AD-DACL-11'
'AD-DACL-16' = 'AD-DACL-15'
'AD-DACL-18' = 'AD-DACL-17'
'AD-DCOMP-02' = 'AD-DCOMP-01'
'AD-DCOMP-05' = 'AD-DCOMP-04'
'AD-DCOMP-09' = 'AD-DCOMP-08'
'AD-FEAT-02' = 'AD-FEAT-01'
'AD-GMC-03' = 'AD-GMC-02'
'AD-GMC-05' = 'AD-GMC-04'
'AD-GMC-07' = 'AD-GMC-06'
'AD-GMC-09' = 'AD-GMC-08'
'AD-GMC-11' = 'AD-GMC-10'
'AD-GPO-03' = 'AD-GPO-02'
'AD-GPO-05' = 'AD-GPO-04'
'AD-GPOL-06' = 'AD-GPOL-03'
'AD-GPOREP-02' = 'AD-GPOREP-01'
'AD-GPOREP-04' = 'AD-GPOREP-03'
'AD-GPOREP-08' = 'AD-GPOREP-07'
'AD-GPOREP-11' = 'AD-GPOREP-10'
'AD-GPOREP-13' = 'AD-GPOREP-12'
'AD-GPOREP-16' = 'AD-GPOREP-15'
'AD-GPOREP-18' = 'AD-GPOREP-17'
'AD-GPOREP-19' = 'AD-GPOREP-17'
'AD-GPOREP-20' = 'AD-GPOREP-17'
'AD-GRP-07' = 'AD-GRP-06'
'AD-GRP-09' = 'AD-GRP-08'
'AD-GRP-10' = 'AD-GRP-08'
'AD-ROOTDSE-02' = 'AD-ROOTDSE-01'
'AD-SCH-02' = 'AD-SCH-01'
'AD-SCH-04' = 'AD-SCH-03'
'AD-SPN-02' = 'AD-SPN-01'
'AD-SPN-04' = 'AD-SPN-03'
'AD-SPN-08' = 'AD-SPN-07'
'AD-SPN-10' = 'AD-SPN-09'
'AD-SPN-13' = 'AD-SPN-12'
'AD-TRUST-04' = 'AD-TRUST-03'
'AD-TRUST-05' = 'AD-TRUST-01'
'AD-TRUST-07' = 'AD-TRUST-06'
'AD-USER-14' = 'AD-SPN-06'
# Second AD consolidation batch.
'AD-CFG-14' = 'AD-CFG-13'
'AD-CFG-16' = 'AD-CFG-15'
'AD-CFG-17' = 'AD-CFG-15'
'AD-CFG-18' = 'AD-CFG-15'
'AD-CFG-19' = 'AD-CFG-15'
'AD-CFG-24' = 'AD-CFG-23'
'AD-FGPP-02' = 'AD-FGPP-01'
'AD-FGPP-03' = 'AD-FGPP-01'
'AD-FGPP-04' = 'AD-FGPP-01'
'AD-PWDPOL-02' = 'AD-PWDPOL-01'
'AD-PWDPOL-03' = 'AD-PWDPOL-01'
'AD-PWDPOL-04' = 'AD-PWDPOL-01'
'AD-PWDPOL-05' = 'AD-PWDPOL-01'
'AD-PWDPOL-06' = 'AD-PWDPOL-01'
'AD-PWDPOL-07' = 'AD-PWDPOL-01'
'AD-SITE-03' = 'AD-SITE-02'
'AD-SITE-05' = 'AD-SITE-04'
'AD-SUB-01' = 'AD-SITE-04'
'AD-SUB-02' = 'AD-SITE-04'
'AD-SUB-05' = 'AD-SUB-04'
'AD-SUB-07' = 'AD-SUB-06'
'AD-SUB-09' = 'AD-SUB-08'
'AD-SUB-10' = 'AD-SUB-08'
'AD-SUB-11' = 'AD-SITE-04'
'AD-OU-05' = 'AD-OU-04'
'AD-USER-17' = 'AD-USER-16'
'AD-USER-18' = 'AD-USER-16'
'AD-USER-21' = 'AD-USER-20'
'AD-USER-23' = 'AD-USER-22'
'AD-USER-24' = 'AD-USER-22'
'AD-USER-25' = 'AD-USER-22'
'AD-USER-27' = 'AD-USER-26'
'AD-USER-28' = 'AD-USER-05'
'AD-USER-29' = 'AD-USER-05'
'AD-DC-06' = 'AD-DC-05'
'AD-DC-08' = 'AD-DC-07'
'AD-DCD-02' = 'AD-DCD-01'
'AD-DOM-06' = 'AD-DOM-05'
'AD-DOM-08' = 'AD-DOM-07'
'AD-FORS-02' = 'AD-FORS-01'
}
Loading
Loading