Security Agents
AI-powered agents for vulnerability remediation and deployment failure analysis; Zero Day Remediation for CVE-based fixes across repos, and Manifest Remediator for Kubernetes and Helm deployment failu
Harness Security agents help teams identify and remediate vulnerabilities and deployment failures using AI. The Zero Day Remediation agent scans for and fixes critical CVEs across multiple repositories, while the Manifest Remediator analyzes Kubernetes and Helm deployment failures to generate remediation YAML.
Zero Day Remediation Agent
The Zero Day Remediation agent identifies and remediates critical vulnerabilities (0-day) across multiple repositories. It scans codebases and vulnerability databases, validates package safety, and generates fix PRs to downgrade or upgrade to safe versions.
Capabilities
Scans across multiple repositories (controlled by
maxReposparameter)CVE-based or component-based remediation
Validates package rollout states, targeting rules, and activity patterns
Supports Java, JavaScript, TypeScript, Python, Go, and C#
Creates fix PRs with version updates to safe releases
Requires Harness Supply Chain Security module
Key inputs
anthropicKey
secret
Anthropic API key for Claude AI
harnessKey
secret
Harness API key for platform operations
repoAccessToken
secret
Token for repository access across orgs
cveId
string
CVE identifier to remediate (e.g., CVE-2024-1234)
componentName
string
Package/component name (alternative to cveId)
fixedVersion
string
Target safe version to upgrade/downgrade to
currentVersion
string
Current vulnerable version
harnessOrgId
string
Harness organization identifier
harnessProjectId
string
Harness project identifier
targetBranch
string
Branch to target for PRs (default: main)
maxRepos
string
Maximum number of repositories to scan
branchPrefix
string
Prefix for fix branches (default: fix/)
authorName
string
Git author name for commits (default: AI Workflow)
authorEmail
string
Git author email for commits (default: ai-workflow@harness.io)
search
string
Filter repositories by name pattern
Pipeline configuration
Supported languages
Java
Maven / Gradle
pom.xml / build.gradle
JavaScript
npm / yarn
package.json
TypeScript
npm / yarn
package.json
Python
pip / poetry
requirements.txt / pyproject.toml
Go
go modules
go.mod
C#
NuGet
*.csproj
SUPPLY CHAIN SECURITY REQUIRED
The Zero Day Remediation agent requires the Harness Supply Chain Security module. Ensure this module is enabled in your Harness account before configuring this agent.
Manifest Remediator Agent
The Manifest Remediator agent analyzes Kubernetes and Helm deployment failures by examining execution logs from failed pipelines. It uses AI to identify root causes and generates a manifest_remediation_results.yaml file with specific fixes and step-by-step remediation instructions.
How it works
Fetch Logs: Retrieves execution logs from the failed
K8sRollingDeployorHelmDeploysteps via the Harness API.AI Analysis: Claude AI analyzes the logs to identify the root cause of the deployment failure.
Generate Remediation: Produces a structured YAML file with root cause analysis, recommended fixes, and configuration updates.
Unique characteristics
Does not clone a repository; works purely from pipeline execution logs
Outputs a YAML file with structured remediation guidance
Supports
K8sRollingDeployandHelmDeployfailure typesUses Harness API to fetch pipeline execution details
Key inputs
anthropicKey
secret
Anthropic API key for Claude AI
harnessKey
secret
Harness API key for fetching execution logs
harnessExecutionId
string
Failed pipeline execution ID
harnessPipelineId
string
Pipeline identifier
harnessBaseUrl
string
Harness API base URL
harnessProjectId
string
Harness project identifier
harnessOrgId
string
Harness organization identifier
harnessAccountId
string
Harness account identifier
Pipeline configuration
Example output
Last updated
Was this helpful?