# NIST800 171 3.3.1 — Event Logging

- Source: https://support.icompaas.com/support/solutions/articles/a_gen_nist800171_331_0a4350a1fb-nist800-171-331-event-logging
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [NIST SP 800-171 Readiness](https://support.icompaas.com/support/solutions/c_gen_nist800171) › [Audit and Accountability](https://support.icompaas.com/support/solutions/folders/f_gen_cgennist800171_auditandaccountability)
- Last updated: 2026-05-30
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

NIST800 171 · Control 3.3.1 · Priority: high · Component: Audit and Accountability

### What this control covers

This control specifies the types of events to be logged within the system, ensuring that all security-relevant events, such as password changes, failed logins, and privileged function execution, are captured. It also requires regular reviews and updates of the event types selected for logging to ensure that they remain relevant to the system's security requirements. This control supports the Event Logging Configuration capability within the Audit and Accountability (3.3) family.

### Why it matters

Identity is the new perimeter — most breaches start with a stolen credential or over-privileged account, so this control is one of the single highest-leverage items you can implement.

### How to implement

#### AWS

Use **IAM Identity Center** (formerly AWS SSO) as the single source of truth for human access; back it with your corporate IdP via SAML/SCIM. Avoid IAM users for people — they don't get MFA-by-default, rotation, or session lifetimes. For workloads, use **IAM Roles** (assumed by EC2/Lambda/EKS service accounts via IRSA) and never long-lived access keys. Run [IAM Access Analyzer](https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer.html) weekly to surface unused access and external-account exposure.

#### Azure

Centralize identity on **Microsoft Entra ID** (formerly Azure AD). Require **Conditional Access** policies: MFA for all admin roles, block legacy auth, location/device gating. Use **Privileged Identity Management (PIM)** to make admin roles just-in-time and time-bound. For Azure resources, prefer **Managed Identities** over service principals with secrets.

#### GCP

Use **Cloud Identity** (or Workspace) as the IdP and **IAM** for resource access. Grant roles at the lowest scope (project > folder > org) using **Workload Identity Federation** for CI/CD and **service accounts** for workloads — never download service-account keys when avoidable. Enable **Policy Intelligence** recommenders to right-size privileges and detect dormant identities.

#### Google Workspace

Enforce **2-Step Verification** (preferably hardware keys for admins) for the entire org, set session length to ≤ 12 hours, and disable less-secure-app access. Use **Context-Aware Access** levels to restrict admin sign-in by IP/device posture. Provision and de-provision users via **SCIM** from your HRIS so leavers lose access on day one.

#### GitHub

Require **SSO + SCIM** from your IdP on the organisation; enforce **2FA** org-wide and use **fine-grained PATs** (or, better, GitHub Apps) instead of classic tokens. Restrict **outside collaborators**, require signed commits on protected branches, and use **OIDC** from Actions to short-lived AWS/GCP/Azure credentials rather than stored secrets.

#### Zoho Mail

Make **two-factor authentication** mandatory for all users (TOTP, OneAuth, or YubiKey) in _Admin Console → Security_. Configure **SAML SSO** against your IdP and disable password-based logins for admins. Use **role-based privileges** (Admin / Spam Moderator / Mail Account Admin) and review the _Login history_ report monthly for anomalies.

### Evidence to collect

-   `identity_scan` — See the iCompaas Evidence library for the canonical source for this evidence type.

Identity analytics (Okta, SailPoint, Access Analyzer) demonstrates least-privilege. Focus: Event Logging.

### Quick checklist

-   Access — Management / Configuration
-   Event — Management / Configuration
-   Configuration — Management / Configuration
-   System — Management / Configuration
-   Password — Management / Configuration
-   Security — Management / Configuration

### Related articles on this site

-   [NIST 800-171 3.1.15 Authorize remote execution of privileged commands and remote access to security-relevant information.](https://support.icompaas.com/support/solutions/articles/62000229250-nist-800-171-3-1-15-authorize-remote-execution-of-privileged-commands-and-remote-access-to-security-r)
-   [CMMC 2.0 AC.3.021 Authorize remote execution of privileged commands and remote access to security-relevant information.](https://support.icompaas.com/support/solutions/articles/62000229416-cmmc-2-0-ac-3-021-authorize-remote-execution-of-privileged-commands-and-remote-access-to-security-rel)
-   [Ensure Access Review is Set Up for External Users in Azure AD Privileged Identity Management (PIM](https://support.icompaas.com/support/solutions/articles/62000229788-ensure-access-review-is-set-up-for-external-users-in-azure-ad-privileged-identity-management-pim)
-   [Ensure Audit Logging of Mandatory Access Control (MAC) Modification Events](https://support.icompaas.com/support/solutions/articles/62000234911-ensure-audit-logging-of-mandatory-access-control-mac-modification-events)

## Related compliance guidance

- [NIST SP 800-171 and CMMC: a practical guide to protecting CUI in the cloud](https://support.icompaas.com/compliance/nist-sp-800-171-rev-3): The CUI requirements CMMC Level 2 assesses, the SPRS score, POA&M rules and the phased DFARS rollout.
- [NIST SP 800-53 Rev. 5: a practical implementation guide for cloud teams](https://support.icompaas.com/compliance/nist-sp-800-53-rev-5): The federal catalogue 800-171 is derived from — useful when a contract also cites a FedRAMP baseline.
