import type { AuditContext } from '@cclabsnz/sf-core'; import type { SecurityCheck, CheckResult } from '../SecurityCheck.js'; /** * The PREVENTIVE guardrail that stops guest-owned records defeating a Private OWD: "Secure guest * user record access". With it, guests reach records only through guest user sharing rules. * * Salesforce has enforced it in every org since Winter '21. From API 50.0, * SharingSettings.enableSecureGuestAccess is always true and setting it has no effect, and the * Release Update that once carried it is no longer served. So there is no state to read: this * check states the platform guarantee for orgs with guest users. It once matched a Release Update * by its wording ("guest" plus "record access"), which could only pick up a different guest update. * * The residual risk is the symptom, not the policy: records a guest already owns, or shares a * guest sharing rule grants. GuestObjectExposureCheck and GuestUserAccessCheck read those directly. * Degrades to inconclusive if guest users cannot be read. */ export declare class GuestRecordAccessPolicyCheck implements SecurityCheck { readonly id = "guest-record-access-policy"; readonly name = "Secure Guest User Record Access"; readonly category = "Access Control"; readonly description = "Confirms the platform enforces \"Secure guest user record access\" for orgs with guest users, the guardrail that stops guest-owned records defeating a Private org-wide default"; run(ctx: AuditContext): Promise; private inconclusive; } //# sourceMappingURL=GuestRecordAccessPolicyCheck.d.ts.map