Adding a New Namespace — Step by Step
1. Determine the type — advisory, weakness, ttp, control, capability, methodology, disclosure, regulation, entity, reference
2. Compute the file path:
example.com → registry/{type}/com/example.json
3. Check if it exists — if so, add a source section (match_node) to it
4. If new, use an existing entry as a reference:
cp registry/advisory/com/redhat.json registry/advisory/com/example.json
5. Fill in: urls, match_nodes (patterns, descriptions, examples)
6. Validate:
python3 -c "import json; json.load(open('registry/advisory/com/example.json'))"
7. Submit a PR — one logical change, descriptive commit message