Skip to content

Commit 8a0d4cc

Browse files
committed
fix: resolve duplicate term 'security-policy'
Signed-off-by: Eddie Knight <knight@linux.com>
1 parent 6795e47 commit 8a0d4cc

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

docs/schema.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ Optional:
282282
- `in-scope`
283283
- `out-of-scope`
284284
- `pgp-key`
285-
- `security-policy`
285+
- `policy`
286286

287287
---
288288

@@ -395,19 +395,19 @@ The PGP public key for secure communication.
395395

396396
---
397397

398-
#### `project.vulnerability-reporting.reports-accepted`
398+
#### `project.vulnerability-reporting.policy` (optional)
399399

400-
Indicates whether this project currently accepts vulnerability reports.
400+
Path to a page containing rules for security-related disclosures.
401401

402-
- **Type**: `boolean`
402+
- **Type**: [URL]
403403

404404
---
405405

406-
#### `project.vulnerability-reporting.security-policy` (optional)
406+
#### `project.vulnerability-reporting.reports-accepted`
407407

408-
Path to a page containing guidelines for security-related disclosures.
408+
Indicates whether this project currently accepts vulnerability reports.
409409

410-
- **Type**: [URL]
410+
- **Type**: `boolean`
411411

412412
---
413413

examples/example-full.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ project:
4848
name: The security team at FooBar Enterprise provides security support for this project.
4949
email: security@something.com
5050
primary: true
51-
security-policy: https://example.com/reporting.html
51+
policy: https://example.com/reporting.html
5252
in-scope:
5353
- broken access control
5454
- other

spec/schema.cue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ import (
173173
// Additional comments or instructions about vulnerability reporting.
174174
comment?: string @go(Comment,type=*string)
175175

176-
// Path to a page containing guidelines for security-related disclosures.
177-
"security-policy"?: #URL @go(SecurityPolicy,type=*URL)
176+
// Path to a page containing rules for security-related disclosures.
177+
"policy"?: #URL @go(SecurityPolicy,type=*URL)
178178

179179
// The PGP public key for secure communication.
180180
"pgp-key"?: string @go(PGPKey,type=*URL)

spec/schema.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ Optional:
275275
- `in-scope`
276276
- `out-of-scope`
277277
- `pgp-key`
278-
- `security-policy`
278+
- `policy`
279279

280280
---
281281

@@ -388,19 +388,19 @@ The PGP public key for secure communication.
388388

389389
---
390390

391-
#### `project.vulnerability-reporting.reports-accepted`
391+
#### `project.vulnerability-reporting.policy` (optional)
392392

393-
Indicates whether this project currently accepts vulnerability reports.
393+
Path to a page containing rules for security-related disclosures.
394394

395-
- **Type**: `boolean`
395+
- **Type**: [URL]
396396

397397
---
398398

399-
#### `project.vulnerability-reporting.security-policy` (optional)
399+
#### `project.vulnerability-reporting.reports-accepted`
400400

401-
Path to a page containing guidelines for security-related disclosures.
401+
Indicates whether this project currently accepts vulnerability reports.
402402

403-
- **Type**: [URL]
403+
- **Type**: `boolean`
404404

405405
---
406406

0 commit comments

Comments
 (0)