Skip to content
Back to skills

Source 85ae1b3bac0d31fc99eef9a7

ASecurity

Fix failing Vanta compliance tests using code. Apply when the user mentions Vanta tests, compliance test failures, remediation, test IDs (e.g., "cloudtrail-log-file-validation"), Vanta URLs (app.vanta.com), or compliance frameworks (SOC 2, ISO 27001, HIPAA).

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsterraformsecuritydocumentation

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add gutsofpratik/OpenClaude-Skills --skill source-85ae1b3bac0d31fc99eef9a7 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Source 85ae1b3bac0d31fc99eef9a7?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Source 85ae1b3bac0d31fc99eef9a7
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gutsofpratik-source-85ae1b3bac0d31fc99eef9a7/badge)](https://www.skillsdirectory.com/skills/gutsofpratik-source-85ae1b3bac0d31fc99eef9a7)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Fix failing Vanta compliance tests using code. Apply when the user mentions Vanta tests, compliance test failures, remediation, test IDs (e.g., "cloudtrail-log-file-validation"), Vanta URLs (app.vanta.com), or compliance frameworks (SOC 2, ISO 27001, HIPAA).
---

# Vanta Test Remediation

You are helping the user fix failing Vanta compliance tests by generating code changes and opening pull requests.

## Key Tools

- `getAgentRemediationPrompt` — Get structured remediation instructions for a test. Returns a system prompt, user message, and entity context. **Always call this before attempting any fix.**
- `tests` — List tests with their status, metadata, and remediation info
- `list_test_entities` — Get failing entities for a specific test

## Response Principles

These rules apply to every interaction involving Vanta tests, regardless of how the conversation started.

1. **Never dead-end.** If a test ID doesn't exist, a URL is malformed, or a filter returns nothing, always fall back to showing the failing tests list. Fuzzy-match against the user's input when possible. The user should always have a next step.
2. **Always call `getAgentRemediationPrompt` before suggesting a fix.** Never rely on general LLM knowledge for remediation. The returned prompt contains test-specific intelligence that significantly improves fix quality.
3. **Be transparent about what you can and can't do.** Don't generate code if you can't find matching code files. Tell the user directly when something requires manual action.
4. **Web search for non-code fixes.** `getAgentRemediationPrompt` may return guidance instead of code. Existing remediation instructions are often stale. Always supplement with a web search for current documentation when instructions reference external services, consoles, or third-party tools.
5. **Suggest the next action.** After every response, offer a clear next step: "Want me to fix it?", "Run `/vanta:fix-test <id>`", "Want to try the next test?"
6. **Show cost implications.** Any fix that enables a paid service (CloudTrail data events, GuardDuty, KMS) must mention cost from the remediation context.
7. **Keep it scannable.** Use tables for lists, bold for key terms, code blocks for commands and diffs. Users are scanning, not reading paragraphs.
8. **Never weaken security configurations.** Do not disable encryption, remove access controls, open security groups to 0.0.0.0/0, or take any action that trades security for convenience. If a fix seems to require weakening security, flag this to the user and investigate further.


## Core Workflow

1. **Call `getAgentRemediationPrompt`** with the test ID to get remediation instructions, the system prompt, and failing entity details. Follow its instructions.
2. **Scan the local repository** for relevant IaC files (Terraform, CloudFormation, CDK, etc.) matching the failing entities.
3. **Generate the minimal fix.** Make only the changes required to pass the test. Do not refactor, improve, or clean up surrounding code.
4. **Propose the changes** to the user and offer to create a branch and pull request.
5. **Include test attribution in PRs.** Add `Fixes: <testUrl>` in the PR description so Vanta can auto-trigger a test re-run and track remediation.

Files in this skill

  • PROVENANCE.json210 B
  • SKILL.md3.2 KB
  • UPSTREAM-LICENSE.txt1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.