Skip to content

Identity - Credentials - Regular Password Rotation

Description

Regular password rotation ensures that credentials are periodically updated, reducing the risk of unauthorized access from compromised or stale passwords, which is critical to maintaining the security of your organization's systems and data.

Meta Data

Attribute Value
Metric id im_credentials
Category Identity Management
SLO 98.00% - 99.00%
Weight 0.8
Type control

References

Framework Ref Domain Control
ISO 27001:2022 A.8.5 8 Technological controls Secure authentication
NIST CSF v2.0 PR.AA-02 Identity Management, Authentication, and Access Control (PR.AA) PR.AA-02: Identities are proofed and bound to credentials based on the context of interactions

Code

select
  profile.login as resource,
  'user' as resource_type,
  password_changed  as detail,
  case
    when datediff('day',cast(password_changed as date),current_date()) < 90
      then 1
    else 0
  end as compliance
from
  {{ ref('okta_users') }}
where
  status = 'ACTIVE'