drift-detection

Solid

Detect, classify, and automate Terraform drift detection in CI — scheduled plans, drift metrics, cloud-native audit log correlation.

DevOps & Infrastructure 14 stars 3 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
39
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Skill: Drift Detection > **Expertise:** Terraform plan-based drift detection, CI scheduling, cloud audit log correlation, drift classification. ## When to load When setting up scheduled drift detection, investigating detected drift, or correlating drift with cloud audit events. ## Scheduled Drift Detection (GitHub Actions) ```yaml # .github/workflows/drift-detection.yml name: Drift Detection on: schedule: - cron: '0 */6 * * *' # every 6 hours workflow_dispatch: # manual trigger jobs: detect-drift: runs-on: ubuntu-latest strategy: matrix: component: [network, k8s-cluster, databases, iam-roles] steps: - uses: actions/checkout@v4 - name: Configure AWS credentials (OIDC) uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: ${{ vars.DRIFT_DETECTOR_ROLE_ARN }} aws-region: eu-west-1 - name: Terraform init working-directory: terraform/environments/production/${{ matrix.component }} run: terraform init -backend-config=backend.hcl - name: Terraform plan (drift check) id: plan working-directory: terraform/environments/production/${{ matrix.component }} run: | terraform plan \ -var-file=terraform.tfvars \ -detailed-exitcode \ -out=drift-check.plan \ 2>&1 | tee drift-output.txt echo "exit_code=$?" >> $GITHUB_OUTPUT continue-on-error: true ...

Details

Author
sawrus
Repository
sawrus/agent-guides
Created
3 months ago
Last Updated
3 days ago
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

DevOps & Infrastructure Solid

drift-detector

Detect infrastructure drift between Terraform state and actual cloud resources. Identifies unmanaged resources, manual changes, and configuration drift. Use when: - User asks to check for infrastructure drift - User wants to find unmanaged cloud resources - User mentions "drift detection" or "Terraform drift" - User asks to compare cloud state to IaC - User wants to audit infrastructure changes

40 Updated yesterday
snyk
DevOps & Infrastructure Solid

detecting-infrastructure-drift

This skill enables Claude to detect infrastructure drift from a desired state. It uses the `drift-detect` command to identify discrepancies between the current infrastructure configuration and the intended configuration, as defined in infrastructure-as-code tools like Terraform. Use this skill when the user asks to check for infrastructure drift, identify configuration changes, or ensure that the current infrastructure matches the desired state. It is particularly useful in DevOps workflows for maintaining infrastructure consistency and preventing configuration errors. Trigger this skill when the user mentions "drift detection," "infrastructure changes," "configuration drift," or requests a "drift report."

2,266 Updated today
jeremylongshore
AI & Automation Featured

detecting-container-drift-at-runtime

Detect unauthorized modifications to running containers by monitoring for binary execution drift, file system changes, and configuration deviations from the original container image.

12,642 Updated today
mukul975
API & Backend Listed

detecting-schema-drift

Detect and reconcile production schema drift between the database catalog and version-controlled schema definitions. Covers catalog-vs-VCS comparison, Atlas Schema Monitoring, hourly drift checks, emergency hotfix reconciliation, dynamic partition exclusions, and break-glass backport procedures. Use when investigating production drift, setting up drift detection, or reconciling out-of-band changes. Triggered by: schema drift, catalog divergence, production drift, out-of-band changes, drift detection, break-glass, schema monitoring.

0 Updated 1 months ago
musher-dev
AI & Automation Solid

model-drift-detector

Detect model drift detector operations. Auto-activating skill for ML Deployment. Triggers on: model drift detector, model drift detector Part of the ML Deployment skill category. Use when working with model drift detector functionality. Trigger with phrases like "model drift detector", "model detector", "model".

2,266 Updated today
jeremylongshore