Skip to content

Commit

Permalink
Merge pull request #296 from kosli-dev/fix-minor-error-in-docs-examples
Browse files Browse the repository at this point in the history
Fix minor error in some docs examples
  • Loading branch information
JonJagger authored Aug 27, 2024
2 parents abcff6b + d4e2463 commit 59f3286
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion cmd/kosli/attestGeneric.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ kosli attest generic \
--name yourTemplateArtifactName.yourAttestationName \
--flow yourFlowName \
--trail yourTrailName \
--commit yourArtifactGitCommit \
--api-token yourAPIToken \
--org yourOrgName
Expand All @@ -66,7 +67,7 @@ kosli attest generic \
--name yourAttestationName \
--flow yourFlowName \
--trail yourTrailName \
--attachments=yourAttachmentPathName \
--attachments yourAttachmentPathName \
--api-token yourAPIToken \
--org yourOrgName
Expand Down
3 changes: 2 additions & 1 deletion cmd/kosli/attestJira.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ kosli attest jira \
--name yourTemplateArtifactName.yourAttestationName \
--flow yourFlowName \
--trail yourTrailName \
--commit yourArtifactGitCommit \
--jira-base-url https://kosli.atlassian.net \
--jira-username [email protected] \
--jira-api-token yourJiraAPIToken \
Expand All @@ -100,7 +101,7 @@ kosli attest jira \
--jira-base-url https://kosli.atlassian.net \
--jira-username [email protected] \
--jira-api-token yourJiraAPIToken \
--attachments=yourAttachmentPathName \
--attachments yourAttachmentPathName \
--api-token yourAPIToken \
--org yourOrgName
Expand Down
3 changes: 2 additions & 1 deletion cmd/kosli/attestJunit.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ kosli attest junit \
--name yourTemplateArtifactName.yourAttestationName \
--flow yourFlowName \
--trail yourTrailName \
--commit yourArtifactGitCommit \
--results-dir yourFolderWithJUnitResults \
--api-token yourAPIToken \
--org yourOrgName
Expand All @@ -73,7 +74,7 @@ kosli attest junit \
--flow yourFlowName \
--trail yourTrailName \
--results-dir yourFolderWithJUnitResults \
--attachments=yourAttachmentPathName \
--attachments yourAttachmentPathName \
--api-token yourAPIToken \
--org yourOrgName
`
Expand Down
3 changes: 2 additions & 1 deletion cmd/kosli/attestSnyk.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ kosli attest snyk \
--name yourTemplateArtifactName.yourAttestationName \
--flow yourFlowName \
--trail yourTrailName \
--commit yourArtifactGitCommit \
--scan-results yourSnykSARIFScanResults \
--api-token yourAPIToken \
--org yourOrgName
Expand All @@ -82,7 +83,7 @@ kosli attest snyk \
--flow yourFlowName \
--trail yourTrailName \
--scan-results yourSnykSARIFScanResults \
--attachments=yourEvidencePathName \
--attachments yourEvidencePathName \
--api-token yourAPIToken \
--org yourOrgName
Expand Down
3 changes: 2 additions & 1 deletion cmd/kosli/testdata/output/docs/snyk.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ kosli attest snyk \
--name yourTemplateArtifactName.yourAttestationName \
--flow yourFlowName \
--trail yourTrailName \
--commit yourArtifactGitCommit \
--scan-results yourSnykSARIFScanResults \
--api-token yourAPIToken \
--org yourOrgName
Expand All @@ -125,7 +126,7 @@ kosli attest snyk \
--flow yourFlowName \
--trail yourTrailName \
--scan-results yourSnykSARIFScanResults \
--attachments=yourEvidencePathName \
--attachments yourEvidencePathName \
--api-token yourAPIToken \
--org yourOrgName

Expand Down

0 comments on commit 59f3286

Please sign in to comment.