- Integrations & API
- Integrations
- Ticketing
- Linear
Linear
Configure Linear Integration
Ostorlab offers the possibility to easily manage vulnerabilities using Ostorlab tickets and seamlessly sync them with Linear.
The Linear configuration is done at the organization level: once connected, Ostorlab tickets are synced either one way or two ways to Linear.
Linear Configuration:
To enable the Linear integration, the organization must have an enterprise subscription.
Ostorlab connects to Linear using a personal API key: there is no separate username or workspace URL to configure.
Create a Linear Api key:
- Access your Linear API settings.

- Create a personal API key.

- Copy the generated key.
Connect Linear Integration:
Walkthrough: Menu → Integrations/API → Integrations → Linear → Configuration, turn on the integration, paste the API key, set the sync options, team and risk ratings, add a field mapping, then Save and Test.
Go to Linear Integration menu Integrations/API -> Integrations -> Linear -> Configuration.
- Open the Ostorlab main menu.

- Expand Integrations/API.

- Click Integrations.

- Select the Linear integration and open the Configuration tab.

- Turn on Enable Integration.

- Paste the Linear Api key in API Key.

- In Team, select the Linear team to sync tickets with. The list of teams is fetched live from Linear once a valid Api key is entered.

Click Save, then Test to check the connection to Linear. All the tests should pass.

NOTE: If you would like to whitelist Ostorlab's Linear clients communicating with your Linear instance, contact the support team.
Automatically create Linear issues from Ostorlab tickets:
Make sure the steps in Connect Linear Integration are done and the connection check is passing.
To enable the automatic creation of Linear issues, turn on Automatically create issues in Linear.

You can also choose to:
- Sync to Linear: push the updates from Ostorlab to Linear.
- Sync from Linear: pull the updates from Linear to Ostorlab.

Once the sync modes are configured, you need to choose:
- The Linear team to use for the issues (see
Connect Linear Integrationabove). - If you would like to create the issues as a child issue of an existing one, set the parent issue id in Parent Issue [Optional].

- Fields to sync.: Linear only supports syncing the ticket
titleanddescriptionautomatically; anything else needs a field mapping (see below). - Risk Ratings to sync.: only tickets with these risk ratings reach Linear.

- Click Save.
Click Test to check that the integration is able to write an issue to the Linear team.
Field Mapping Types
Under Custom Field Mappings, click Add Mapping, choose the Linear Field and one of three mapping types:
- Field Mapping: Maps Ostorlab fields directly to Linear fields (e.g., title, description, priority, state, assignee, labels, due date)
- Value Mapping: Sets a static value for a Linear field
- Template Mapping: Provides custom templating for Linear fields using Ostorlab ticket variables

Template Mapping
Template mapping allows you to create custom field values using Ostorlab ticket variables. Use double curly braces to reference ticket variables: {{variable_name}}
Available variables:
{{title}}: Ticket title{{description}}: Ticket description{{risk_rating}}: Ticket risk rating{{status}}: Ticket status{{assigned}}: Assigned user's username{{due_date}}: Ticket due date{{target}}: The ticket's scanned target{{tags.<tag_name>}}: The value of a ticket tag named<tag_name>
Example template:
Assigned to {{assigned}}