npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-cavelo

v2.0.0

Published

n8n community node for Cavelo Attack Surface Management platform

Readme

n8n-nodes-cavelo

npm version License: MIT

A comprehensive n8n community node for integrating with the Cavelo Attack Surface Management platform. This node provides automation capabilities for vulnerability management, PII discovery, access auditing, and compliance monitoring.

Features

  • Vulnerability Management: Search, filter, and monitor vulnerabilities with CVSS scoring
  • PII Discovery: Track and alert on sensitive data exposure
  • Access Auditing: Monitor data access events for compliance
  • CIS Benchmarking: Track compliance with security benchmarks
  • Polling Triggers: Real-time notifications for new security events
  • Rate Limiting: Built-in handling of API rate limits with exponential backoff
  • Pagination: Automatic handling of large result sets
  • 🤖 AI Integration: Enhanced AI capabilities for intelligent security analysis
    • AI-Powered Risk Assessment: Intelligent vulnerability risk scoring and prioritization
    • AI Compliance Analysis: Automated PII compliance checking with framework mapping
    • AI Security Analysis: Intelligent access pattern analysis with anomaly detection
    • AI Benchmark Analysis: Automated compliance assessment with gap analysis
    • AI Recommendations: Intelligent remediation planning and resource requirements

Installation

npm install n8n-nodes-cavelo

Note: This package is designed for n8n community nodes. Make sure you have n8n installed and running before installing this package.

Setup

1. Create API Key

  1. Log in to your Cavelo dashboard at https://dashboard.prod.cavelodata.com/
  2. Navigate to SettingsAPI Keys
  3. Click Create New API Key
  4. Configure permissions based on your needs:
    • Data Discovery: For PII and inventory data
    • Data Protection: For vulnerability and benchmark data
    • Data Access: For access audit data
  5. Copy the generated API key

2. Find Organization UUID

  1. In the Cavelo dashboard, navigate to SettingsOrganization
  2. Copy the Organization UUID from the organization details
  3. This UUID is required for all API operations

3. Add Credentials in n8n

  1. In your n8n instance, go to Credentials
  2. Click Add CredentialCavelo API
  3. Enter your API key and organization UUID
  4. Test the connection to verify setup

Usage

Basic Vulnerability Search

// Search for high-severity vulnerabilities
{
  "resource": "Vulnerability",
  "operation": "Search",
  "filters": {
    "cveV3BaseScore": 7.0,
    "severities": ["high", "critical"]
  }
}

PII Discovery Alert

// Monitor for high-risk PII
{
  "resource": "PII",
  "operation": "Search",
  "filters": {
    "classifications": ["SSN", "Credit Card", "Bank Account"]
  }
}

Example Workflows

This package includes comprehensive example workflows demonstrating real-world security automation scenarios:

Immediate Response Workflows

  • Critical Vulnerability Alert: Automatically create tickets when critical vulnerabilities are discovered
  • PII Compliance Alert: Monitor PII discovery and ensure compliance reporting
  • Suspicious Access Investigation: Investigate suspicious access patterns and potential security incidents

Scheduled Reporting Workflows

  • Weekly Security Posture Report: Generate comprehensive weekly security posture reports with executive summaries
  • Monthly Compliance Gap Analysis: Monthly compliance gap analysis and remediation planning

Operational Workflows

  • Asset Discovery Sync: Automate asset onboarding and security classification
  • Vulnerability Remediation Tracking: Track vulnerability remediation lifecycle and SLA compliance

Each workflow demonstrates advanced business logic patterns including:

  • Sophisticated risk scoring algorithms
  • Data enrichment and transformation
  • Priority and SLA management
  • Integration with external systems
  • Error handling and edge cases
  • Scalability considerations

Note: The workflow examples are included in the repository but not in the published npm package to keep the package lightweight. You can find them in the workflows/ directory of the GitHub repository.

API Reference

Resources

| Resource | Operations | Description | |----------|------------|-------------| | Vulnerability | Search, Get by Target, Historical | Vulnerability management and tracking | | PII | Search, Get by Target | Personal information discovery | | Access Audit | Search | Data access monitoring | | Benchmark | Search | CIS benchmark compliance |

Common Filters

Vulnerability Filters

  • cveV2BaseScore: Minimum CVSS v2 score
  • cveV3BaseScore: Minimum CVSS v3 score
  • severities: Array of severity levels
  • hostnames: Array of hostnames to filter
  • agentUuids: Array of agent UUIDs

PII Filters

  • classifications: Array of PII types (SSN, Credit Card, etc.)
  • inventoryTags: Array of inventory tags
  • sourceTypes: Array of source types (agent, cloud, etc.)

Access Audit Filters

  • actions: Array of actions (read, write, delete, etc.)
  • resourceTypes: Array of resource types
  • userPrincipals: Array of user principals
  • eventTimeAfter: Start time for events
  • eventTimeBefore: End time for events

Rate Limiting

The Cavelo API uses a sliding window rate limiter. This node automatically handles rate limiting with exponential backoff:

  • 429 Too Many Requests: Automatically retries with increasing delays
  • Max Retries: 3 attempts with exponential backoff
  • Retry-After Header: Respects server-specified retry times

Troubleshooting

Common Issues

401 Unauthorized

  • Verify your API key is correct
  • Check that the API key has not expired
  • Ensure the API key has the required permissions

403 Forbidden

  • Verify your organization UUID is correct
  • Check that your API key has the required RBAC permissions
  • Ensure you're not trying to access restricted data

429 Too Many Requests

  • The node automatically handles rate limiting
  • Consider reducing polling frequency for triggers
  • Check your organization's rate limit settings

Invalid Organization UUID

  • Verify the UUID format (should be a valid UUID v4)
  • Check that the organization exists in your Cavelo account
  • Ensure you have access to the organization

📚 Documentation

Comprehensive Documentation

External Resources

🤖 AI Tool Setup

The Cavelo node includes enhanced AI capabilities that can be used as tools in n8n AI Agent workflows.

Prerequisites

  • n8n version 1.82.1 or later
  • Environment variable configuration (see below)

Quick Setup

  1. Set Environment Variable:

    export N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true
  2. Restart n8n:

    # Restart your n8n instance
  3. Verify Setup:

    npm run verify:ai-tool
  4. Test AI Integration:

    • Create an AI Agent workflow
    • Look for "Cavelo" in available tools
    • Test with: "Analyze vulnerabilities with high risk scores"

Docker Setup

Add to your docker-compose.yml:

environment:
  - N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true

AI Capabilities

  • Vulnerability Analysis: AI-powered risk assessment and prioritization
  • PII Compliance: Automated compliance checking with framework mapping
  • Access Audit: Intelligent security analysis with anomaly detection
  • Benchmark Analysis: Automated compliance assessment with gap analysis

Documentation

Contributing

We welcome contributions! This is a community-driven project for organizational use that benefits the broader n8n and Cavelo communities.

Development Setup

# Clone the repository
git clone https://github.com/viyusmanji/n8n-cavelo-nodes.git
cd n8n-cavelo-nodes

# Install dependencies
npm install

# Build the project
npm run build

# Run linting
npm run lint

# Run tests
npm test

License

This project is licensed under the MIT License - see the LICENSE file for details.

Changelog

1.0.0

  • Initial release
  • Vulnerability search and monitoring
  • PII discovery and alerting
  • Access audit monitoring
  • CIS benchmark compliance tracking
  • Polling triggers for real-time notifications
  • Comprehensive workflow examples