For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

User account credentials (access token and/or SSH Keys) are inactive in GitHub

Rule Details

Cortex AppSec Rule ID

APPSEC_CICD_105

Category

IAM

Severity

HIGH

Impact

User account programmatic credentials including personal access tokens (PAT) and SSH keys authorized by SAML SSO, are inactive for more than 90 days. Although not in use, these credentials are still valid, enlarging the attack surface.

Minimize potential risks by deleting user account programmatic credentials that are not in use:

  • Request the users to de-authorize or delete PATs and SSH Keys that are not in use

  • Admins can delete credentials through the GitHub API

Delete Credentials

  • Delete Credentials from the GitHub web interface

    • SSH Keys: In your GitHub account select Settings > SSH and GPG keys > deauthorize or delete the SSH key

    • PAT: In your GitHub account select Settings > Developer Settings > Personal access tokens > deauthorize or delete the personal access token

  • Delete Credentials using the Admin API: Refer to the Admin API: https://docs.github.com/en/rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organizatio◊n

Last updated

Was this helpful?