Files
cve/config.example.py
cproudlock d28dd504f2 Fix NinjaOne API integration and patch parsing
- Use us2.ninjarmm.com instance (not app.ninjarmm.com)
- Handle results wrapper in API responses
- Parse impact field for severity (critical/high/medium/low)
- Fetch all patches, not just pending

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 12:52:10 -05:00

11 lines
349 B
Python

# NinjaOne API Configuration
# Copy this to config.py and fill in your credentials
NINJAONE_CONFIG = {
'client_id': 'your_client_id',
'client_secret': 'your_client_secret',
'base_url': 'https://app.ninjarmm.com', # or your regional URL
'token_url': 'https://app.ninjarmm.com/ws/oauth/token',
'scope': 'monitoring management'
}