# Web session cookie

Tier 0 key, `key:web-session`. Page: https://ghtier.com/tier/keys-policies/web-session

Acts as the signed-in account in the browser, with everything that account can do, including its settings. For an organization or enterprise owner, that is control of the organization or enterprise. It was issued after the password and 2FA, so a stolen cookie skips both.

**Related permissions:** [Administration: Write (repository)](https://ghtier.com/tier/permissions/administration-write.md) (Tier 1), [Administration: Write (organization)](https://ghtier.com/tier/permissions/organization-administration-write.md) (Tier 0), [Git SSH keys: Write (user)](https://ghtier.com/tier/permissions/keys-write.md) (Tier 1)

**Defenses (checklist):** [Enable audit logging and export it to a SIEM for retention and detection](https://ghtier.com/checklist/org-audit-log-siem.md)

**Audit log events that show it:** [org.sso_response](https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise), [business.sso_response](https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise), [business.revoke_sso_session](https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise)

**Sources:**
- [GitHub Docs: Viewing and managing your sessions](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/viewing-and-managing-your-sessions)

From ghtier (https://ghtier.com). Every entry and link: https://ghtier.com/data/graph.json. Tiers: https://ghtier.com/tier.
