Linear
File LeoPrevent findings as Linear issues, one issue per finding, and know when each one closes.
With Linear connected, you can file a finding as a Linear issue from its record. LeoPrevent never files issues on its own.
Admins and Owners connect Linear. Members, Admins and Owners can file issues.
Connect Linear#
- Open Integrations and select Linear.
- Select Continue to Linear.
- Approve access in Linear.
- Pick a Team. This is where new issues are created, unless a workspace picks its own.
- Select Save.
Until a team is picked, Linear shows Finish setup and nobody can create issues. Issues are created as the person who connected Linear.
What Linear asks for#
| Scope | Used for |
|---|---|
read | Listing your workspace and its teams. Linear includes it in every connection. |
issues:create | Creating issues. |
File an issue#
Open a finding in Findings and select Create Linear issue.
The issue holds the flaw and where it is, its severity, the repository, one line of explanation and a link back to the finding. It never contains code.
When the issue is open#
The finding's button shows the issue's key and whether it is closed. While the issue is open, your agents are not asked about that existing flaw again, and once it closes the flaw is raised again if it is still in the code. See Why a flaw isn't raised again.
Change team#
Open the Linear drawer, pick another Team and select Save.
Disconnect#
Select Disconnect in the Linear drawer. You can no longer create Linear issues from findings; issues already in Linear stay there. To remove access completely, also remove LeoPrevent in Linear's settings.