Linear
Linear reporter that opens issues on Linear based on the given findings.
How to use
Open-Source
- Add the component to the workflow:
# file ./my-workflow/workflow.yml
description: Workflow reporting to linear
name: linear
components:
- component: ghcr.io/smithy-security/smithy/manifests/components/targets/git-clone:v1.3.2
- component: ghcr.io/smithy-security/smithy/manifests/components/scanners/gosec:v1.2.3
- component: ghcr.io/smithy-security/smithy/manifests/components/scanners/nancy:v1.2.2
- component: ghcr.io/smithy-security/smithy/manifests/components/enrichers/custom-annotation:v0.1.2
- component: ghcr.io/smithy-security/smithy/manifests/components/reporters/linear:v0.0.3
- Configure the run parameters of the component in the overrides file:
# file: ./my-workflow/overrides.yaml
git-clone:
- name: "repo_url"
type: "string"
value: "https://github.com/sqreen/go-dvwa"
- name: "reference"
type: "string"
value: "master"
linear:
- name: "api_key"
type: "string"
value: "$api_key"
- name: "team_id"
type: "string"
value: "$team_id"
- name: "issue_labels"
type: "string"
value: "$issue_labels"
- name: "base_url"
type: "string"
value: "$base_url"
SaaS
- In the Smithy UI, open the page to create a new workflow.
- Find the Linear component in the Reporters dropdown.
- Fill the form on the right
Options
You can configure this component with the following options. The options that have a default value are optional:
Option Name | Description | Default | Type |
---|---|---|---|
[Required] api_key | The Linear API key | String | |
[Required] team_id | The team id (uuid). You can figure this out following the guidance here | String | |
issue_labels | The labels to be used on your tickets | String | |
base_url | Linear's base url for graphql API | https://api.linear.app/graphql | String |