Skip to content

Commit 5e71828

Browse files
committed
fix: default optional template text inputs
Signed-off-by: zebbern <185730623+zebbern@users.noreply.github.com>
1 parent 582f268 commit 5e71828

13 files changed

Lines changed: 54 additions & 67 deletions

backend/scripts/seed-templates/api-surface-exposure-triage.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,15 @@
5353
"label": "Scan intensity",
5454
"type": "text",
5555
"required": false,
56+
"defaultValue": "safe",
5657
"description": "Use safe or thorough. Safe keeps candidate generation tightly bounded."
5758
},
5859
{
5960
"id": "authorizationNotes",
6061
"label": "Authorization notes",
6162
"type": "text",
6263
"required": false,
64+
"defaultValue": "",
6365
"description": "Program scope, exclusions, and rate-limit notes to copy into the report."
6466
}
6567
]

backend/scripts/seed-templates/bug-bounty-recon-triage.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"label": "Authorization notes",
4444
"type": "text",
4545
"required": false,
46+
"defaultValue": "",
4647
"description": "Program scope, exclusions, and rate-limit notes."
4748
}
4849
]

backend/scripts/seed-templates/cve-impact-research-brief.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,23 @@
4646
"label": "Product",
4747
"type": "text",
4848
"required": false,
49+
"defaultValue": "",
4950
"description": "Optional product name or technology under review."
5051
},
5152
{
5253
"id": "version",
5354
"label": "Version",
5455
"type": "text",
5556
"required": false,
57+
"defaultValue": "",
5658
"description": "Optional deployed or suspected affected version."
5759
},
5860
{
5961
"id": "deploymentNotes",
6062
"label": "Deployment notes",
6163
"type": "text",
6264
"required": false,
65+
"defaultValue": "",
6366
"description": "Internal context for authorized impact analysis."
6467
}
6568
]

backend/scripts/seed-templates/exposed-service-cve-mapper.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"label": "Authorization notes",
4747
"type": "text",
4848
"required": false,
49+
"defaultValue": "",
4950
"description": "Scope notes and rate limits for the engagement."
5051
}
5152
]

backend/scripts/seed-templates/github-repo-dependency-cve-triage.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
"label": "Branch, tag, or commit",
8181
"type": "text",
8282
"required": false,
83+
"defaultValue": "",
8384
"description": "Git ref to read manifests from. Uses the repository default branch when omitted."
8485
},
8586
{
@@ -101,6 +102,7 @@
101102
"label": "Research notes",
102103
"type": "text",
103104
"required": false,
105+
"defaultValue": "",
104106
"description": "Program scope, repository context, or triage notes to include in the report."
105107
}
106108
]

backend/scripts/seed-templates/npm-dependency-cve-hunt.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"label": "Research notes",
4444
"type": "text",
4545
"required": false,
46+
"defaultValue": "",
4647
"description": "Optional program, repository, or triage context to include in the report."
4748
}
4849
]

backend/scripts/seed-templates/passive-osint-subdomain-expansion.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,15 @@
5757
"label": "Scan intensity",
5858
"type": "text",
5959
"required": false,
60+
"defaultValue": "safe",
6061
"description": "Use safe, normal, or thorough. Safe keeps passive expansion and DNS queries tightly bounded."
6162
},
6263
{
6364
"id": "authorizationNotes",
6465
"label": "Authorization notes",
6566
"type": "text",
6667
"required": false,
68+
"defaultValue": "",
6769
"description": "Program scope, exclusions, rate limits, and validation notes to include in the report."
6870
}
6971
]

backend/scripts/seed-templates/public-repo-code-iac-risk-triage.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,15 @@
4646
"label": "Branch, tag, or commit",
4747
"type": "text",
4848
"required": false,
49+
"defaultValue": "",
4950
"description": "Git ref to inspect. Uses the repository default branch when omitted."
5051
},
5152
{
5253
"id": "authorizationNotes",
5354
"label": "Authorization notes",
5455
"type": "text",
5556
"required": false,
57+
"defaultValue": "",
5658
"description": "Program scope, exclusions, and rate-limit notes to include in the report."
5759
}
5860
]

backend/scripts/seed-templates/public-repo-secret-exposure-triage.json

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@
33
"name": "Public Repo Secret Exposure Triage",
44
"description": "Authorized bug bounty workflow that scans a public Git repository for verified exposed secrets, redacts evidence, and writes a submission-ready triage report.",
55
"category": "bug-bounty",
6-
"tags": [
7-
"bug-bounty",
8-
"secrets",
9-
"trufflehog",
10-
"git",
11-
"repository"
12-
],
6+
"tags": ["bug-bounty", "secrets", "trufflehog", "git", "repository"],
137
"author": "sentris-team",
148
"version": "1.0.0"
159
},
@@ -19,13 +13,7 @@
1913
"version": "1.0.0",
2014
"author": "sentris-team",
2115
"category": "bug-bounty",
22-
"tags": [
23-
"bug-bounty",
24-
"secrets",
25-
"trufflehog",
26-
"git",
27-
"repository"
28-
],
16+
"tags": ["bug-bounty", "secrets", "trufflehog", "git", "repository"],
2917
"entryPoint": "trigger_1",
3018
"nodeCount": 4,
3119
"edgeCount": 8
@@ -58,6 +46,7 @@
5846
"label": "Authorization notes",
5947
"type": "text",
6048
"required": false,
49+
"defaultValue": "",
6150
"description": "Program scope, exclusions, and any reporting constraints for this repository."
6251
}
6352
]

backend/scripts/seed-templates/subdomain-takeover-triage.json

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,7 @@
33
"name": "Subdomain Takeover Triage",
44
"description": "Authorized bug bounty workflow that discovers subdomains, checks DNS and HTTP takeover indicators, runs safe takeover templates, and writes a prioritized candidate report.",
55
"category": "bug-bounty",
6-
"tags": [
7-
"bug-bounty",
8-
"takeover",
9-
"subdomains",
10-
"dns",
11-
"httpx",
12-
"nuclei"
13-
],
6+
"tags": ["bug-bounty", "takeover", "subdomains", "dns", "httpx", "nuclei"],
147
"author": "sentris-team",
158
"version": "1.0.0"
169
},
@@ -20,14 +13,7 @@
2013
"version": "1.0.0",
2114
"author": "sentris-team",
2215
"category": "bug-bounty",
23-
"tags": [
24-
"bug-bounty",
25-
"takeover",
26-
"subdomains",
27-
"dns",
28-
"httpx",
29-
"nuclei"
30-
],
16+
"tags": ["bug-bounty", "takeover", "subdomains", "dns", "httpx", "nuclei"],
3117
"entryPoint": "trigger_1",
3218
"nodeCount": 8,
3319
"edgeCount": 10
@@ -67,6 +53,7 @@
6753
"label": "Authorization notes",
6854
"type": "text",
6955
"required": false,
56+
"defaultValue": "",
7057
"description": "Program scope, exclusions, and rate-limit notes."
7158
}
7259
]
@@ -140,10 +127,7 @@
140127
"label": "Resolve CNAME and Address Records",
141128
"config": {
142129
"params": {
143-
"recordTypes": [
144-
"A",
145-
"CNAME"
146-
],
130+
"recordTypes": ["A", "CNAME"],
147131
"outputMode": "json",
148132
"includeResponses": true,
149133
"threads": 100,
@@ -192,18 +176,10 @@
192176
"followRedirects": true,
193177
"updateTemplates": true,
194178
"disableHttpx": true,
195-
"severityFilter": [
196-
"info",
197-
"low",
198-
"medium",
199-
"high",
200-
"critical"
201-
]
179+
"severityFilter": ["info", "low", "medium", "high", "critical"]
202180
},
203181
"inputOverrides": {
204-
"templatePaths": [
205-
"http/takeovers/"
206-
]
182+
"templatePaths": ["http/takeovers/"]
207183
}
208184
}
209185
}

0 commit comments

Comments
 (0)