Skip to content

Guerrilla 2.54.0

Choose a tag to compare

@jimrtyler jimrtyler released this 05 Sep 17:44
· 86 commits to main since this release

v2.54.0: Four new Google Workspace checks close the conditional external-sharing cluster in the CISA SCuBA Drive baseline, and the golden-fixture gate no longer rots with the calendar. DRIVE-019 (GWS.DRIVEDOCS.1.3) asserts that users are warned before sharing Drive content outside the organization; DRIVE-020 (1.4) that sharing is limited to recipients holding a Google account rather than PIN-based visitor links; DRIVE-021 (1.5) that publishing Drive content to the web is off; DRIVE-022 (1.7) that no one may upload or move content into a shared drive owned by another organization. All four read the drive_and_docs.external_sharing policy the scan already collects, so they need no new API scope, no new domain-wide delegation, and no collector change. These four policies only bind when external sharing is permitted, so each check pairs externalSharingMode with its sub-setting on the same policy value object, per targeted policy: resolving the two fields separately would let one organizational unit's sharing mode answer for another unit's setting. Policies 1.3 and 1.4 each read a different field depending on the mode, so a single-field check would grade half of all tenants against a setting that does not apply to them. Where external sharing is disallowed the check reports that the policy cannot apply rather than returning a bare pass, and where the sub-setting is missing while sharing is permitted it reports Not Assessed rather than crediting a setting it could not read. Field names and enum direction were verified against the published CISA assessment logic before any verdict code was written. Google Workspace coverage is now 179 checks and the total is 647, each validated by a golden-fixture test (1,878 fixtures); SCuBA Google Workspace policy coverage moves from 95 to 99 of 138. Separately, three fixtures pinned a login timestamp to an absolute date authored as 'recent'; it aged past the 90-day inactivity thresholds those checks apply and turned the suite red with no code change. All 151 remaining absolute dates across 76 fixture and generator files are now relative tokens, and a pre-flight guard fails the run outright if any fixture pins a datetime again.