This PR implements the Template Profile Improvements feature that allows users to maintain a single, comprehensive config file for nuclei scans.
1. Profile Metadata Fields
id, name, description, purpose, author, version, profile-tags2. Embedded Secrets Configuration
secrets key support directly in profile filesstatic and dynamic secrets:
name: projectdiscovery-scan
purpose: Config File for Scanning
description: single config file for scanning specific targets
type:
- http
- dns
- ssl
exclude-tags:
- dos
- fuzz
concurrency: 5
timeout: 30
secrets:
static:
- type: Header
domains:
- api.projectdiscovery.io
headers:
- key: x-pdcp-key
value: <api-key-here>
dynamic:
- template: custom-oauth-flow.yaml
variables:
- key: username
value: pdteam
type: Cookie
domains:
- api.projectdiscovery.io
1. Profile with metadata fields:
2. Profile with embedded secrets:
3. Unit tests passing:
Fixes #5567
/claim #5567
New Features
Tests
Saheli Saha
@Sahelisaha04
ProjectDiscovery
@projectdiscovery
starmovie12
@starmovie12