CycloneDX / CycloneDX/specification

[Defect]: Fix descriptions/comments for "trigger" object in JSON schema

Open
#564 0 comments 1 reaction 1 assignee Claimed by @mrutkows View on GitHub
CDX 1.6 CDX 1.7 defect
Dominant language
XSLT
Stars
547
Forks
93
Avg merge
7h 11m
Merged PRs (30d)
37

Description

The current schema for `inputs` and `outputs` attributes for the `trigger` element are as follows:

```
"inputs": {
"title": "Inputs",
"description": "Represents resources and data brought into a task at runtime by executor or task commands",
"examples": ["a `configuration` file which was declared as a local `component` or `externalReference`"],
"type": "array",
"items": {
"$ref": "#/definitions/inputType"
},
},
"outputs": {
"title": "Outputs",
"description": "Represents resources and data output from a task at runtime by executor or task commands",
"examples": ["a log file or metrics data produced by the task"],
"type": "array",
"items": {
"$ref": "#/definitions/outputType"
},
```

## Describe the defect

The descriptions reference "task" instead of "trigger" which is a cut/paste error/oversight.

## Additional context

None

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.