Skip to content

Commit

Permalink
GITBOOK-8482: MR - image audit API section, minor formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeromard authored and gitbook-bot committed Nov 15, 2024
1 parent 0acba15 commit 1cde1e1
Show file tree
Hide file tree
Showing 15 changed files with 64 additions and 64 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
To create a Snyk App, you must have access to the Snyk API. To get started, follow the steps to [authenticate for the API](../rest-api/authentication-for-api/authenticate-for-the-api.md).

You must also retrieve the ID of the Snyk Organization you intend the App to be owned by (your `orgId`). You can get the Organization ID from the Organization settings in the Snyk Web UI or by using the endpoint [List accessible organizations](../reference/orgs.md#orgs): \
`https://api.snyk.io/rest/orgs`with the Snyk API token in the Authorization header.
`https://api.snyk.io/rest/orgs` with the Snyk API token in the Authorization header.

{% hint style="info" %}
Snyk Apps have first-class access to the API, regardless of whether users installing the App have paid for access or not. To take advantage of this feature, Apps must use API endpoints with the domain https://api.snyk.io/ rather than the deprecated `https://snyk.io/api/` to call the API within the App.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ You can check the status of the test at any time after the initial request. &#x2

When the test is complete, you can view the results for the tested SBOM.

1. When the status of the test returned is`finished`, make a request to the endpoint [Gets an SBOM test run result](https://apidocs.snyk.io/?version=2024-09-03%7Ebeta#get-/orgs/-org\_id-/sbom\_tests/-job\_id-/results).
1. When the status of the test returned is `finished`, make a request to the endpoint [Gets an SBOM test run result](https://apidocs.snyk.io/?version=2024-09-03%7Ebeta#get-/orgs/-org\_id-/sbom\_tests/-job\_id-/results).
2. View the information returned, which includes summary-level information about the SBOM that was tested and the detailed results.

```bash
Expand Down
4 changes: 2 additions & 2 deletions docs/snyk-api/how-to-use-snyk-webhooks-apis/about-webhooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Respond to critical issues before they impact your business. Embrace modern inci

### Security Information and Event Management (SIEM)

Get real-time security alerts aggregated across various sources into a single platform. read more about Snyk's partnership with Rapid7 and how together we help organizations mitigate security risks.
Get real-time security alerts aggregated across various sources into a single platform. Read more about Snyk's partnership with Rapid7 and how together we help organizations mitigate security risks.

### Vulnerability Management and Aggregation

Expand All @@ -37,5 +37,5 @@ When creating a webhook, you must provide a ​secret​ - this is a string that
All transports sent to your webhooks will have a ​`X-Hub-Signature` ​header, which contains the hash signature for the transport. The signature is a HMAC hexdigest of the request body, generated using sha256 and your secret as the HMAC key.

{% hint style="info" %}
`X-Hub-Signature​`always starts with​ `sha256=`
`X-Hub-Signature​` always starts with​ `sha256=`
{% endhint %}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Guides to webhooks

This section includes the following guides"
This section includes the following guides:

* [How to use Snyk webhooks with Zapier](tutorial.md)
* [How to use Snyk webhooks to integrate New Relic with Snyk](how-to-use-snyk-webhooks-to-integrate-new-relic-with-snyk/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Follow these steps to add security through an environment variable:
2. Click **Environment variables**.
3. Add the new environment variable.
4. Use `hmac_verification` as your key.
5. Enter your preferred secret as the key value. Store this secret somewhere safe for use again later.\\
5. Enter your preferred secret as the key value. Store this secret somewhere safe for use again later.

<figure><img src="https://lh4.googleusercontent.com/eXXBAsVL2kDNpr9fDt_PErj9x0z7nBa-KywuWXJ0nGpuwwEiBiu8p0wFJLMacewmkRnYfrWSMzXqzhHAhRjifx-uEJF_BZm5Y0SazSMw60zKq8JOsLiGpqb7Risfr5zVBoBI7uiOJyMp_7G_HCajTB_vpIEVJotV4u1cJ4yO_t2wEi1jEARxk2sLjQ" alt="AWS Lambda function add environment variable interface"><figcaption><p>AWS Lambda function add environment variable interface</p></figcaption></figure>
<figure><img src="https://lh4.googleusercontent.com/eXXBAsVL2kDNpr9fDt_PErj9x0z7nBa-KywuWXJ0nGpuwwEiBiu8p0wFJLMacewmkRnYfrWSMzXqzhHAhRjifx-uEJF_BZm5Y0SazSMw60zKq8JOsLiGpqb7Risfr5zVBoBI7uiOJyMp_7G_HCajTB_vpIEVJotV4u1cJ4yO_t2wEi1jEARxk2sLjQ" alt=""><figcaption><p>AWS Lambda function add environment variable interface</p></figcaption></figure>
6. For added security, consider using Secrets Manager or Parameter Store for the shared secret.
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,12 @@ To create an AWS Lambda function, follow these steps:
4. Choose **Node.js 16.x** for the **Runtime**.
5. Choose **X86\_64** for the **Architecture**.
6. If publishing the Lambda function through API Gateway, add or create a role with the default policy **AmazonAPIGatewayInvokeFullAccess** to interact with the AWS API Gateway.
7. Verify that the AWS Console screen shows these entries:\\
7. Verify that the AWS Console screen shows these entries:

<figure><img src="https://lh6.googleusercontent.com/xzJzGjfuzj0U27-pxcaIcrU-wBj8DTuEiQpivJZAnqRAO3rEPccx48l8KSZ5AE01BYJDwjJwkiFMR-Oj3ozWyG-CI20bwFtK_yjY9HKEoY0-4V4pa8l351JqrYdkK29va1x7BdlPoQ7N12SROjDQy3CmUQsDTtQ5lYOw3QvwoG1c1nDms-EFiQSElA" alt="AWS Console with entries to create a Lambda function"><figcaption><p>AWS Console with entries to create a Lambda function</p></figcaption></figure>
<figure><img src="https://lh6.googleusercontent.com/xzJzGjfuzj0U27-pxcaIcrU-wBj8DTuEiQpivJZAnqRAO3rEPccx48l8KSZ5AE01BYJDwjJwkiFMR-Oj3ozWyG-CI20bwFtK_yjY9HKEoY0-4V4pa8l351JqrYdkK29va1x7BdlPoQ7N12SROjDQy3CmUQsDTtQ5lYOw3QvwoG1c1nDms-EFiQSElA" alt=""><figcaption><p>AWS Console with entries to create a Lambda function</p></figcaption></figure>
8. Click **Create Function** and when the function is ready click **Upload from .zip file** and
9. Verify that the code you entered is displayed in the Code Source.\\
9. Verify that the code you entered is displayed in the Code Source.

<figure><img src="https://lh3.googleusercontent.com/97qnO6V9xBXaf6dyO0hg41Y2vmeB1-0aPK-qskqTI-L2WII3d75zb4XsK6Mg5ljJUEdS7AGYJ5sQ5IoDHvzofkfK_gPId9e-XuBqEGkuWNxlIyL4IHu7-S8hrbGKnuyOehU2fjScDi0jazvuhWkADyFDGkkdAdzQGSEfWO30YGPJ9x4ocfwFXS5LfQ" alt="AWS code source display"><figcaption><p>AWS code source display</p></figcaption></figure>
<figure><img src="https://lh3.googleusercontent.com/97qnO6V9xBXaf6dyO0hg41Y2vmeB1-0aPK-qskqTI-L2WII3d75zb4XsK6Mg5ljJUEdS7AGYJ5sQ5IoDHvzofkfK_gPId9e-XuBqEGkuWNxlIyL4IHu7-S8hrbGKnuyOehU2fjScDi0jazvuhWkADyFDGkkdAdzQGSEfWO30YGPJ9x4ocfwFXS5LfQ" alt=""><figcaption><p>AWS code source display</p></figcaption></figure>
10. In the code, modify the `slackWebhookUrl` to match your Slack webhook URL.
11. For more information on the script you have pasted, go to [Configure the AWS Lambda Script](configure-the-aws-lambda-script.md).
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ Follow these steps to add the POST Method:
3. To create the method, navigate to **Actions** -> **Create Method** -> **Post**.
4. Configure the AWS API Gateway to work with the Lambda function you created by adding the Gateway in the adjacent Lambda function box:\
Choose the **Lambda Function Integration type**.\
Select **Default Timeout**.\\
Select **Default Timeout**.

<figure><img src="https://lh3.googleusercontent.com/3WjrkRdG1_TnfQ5w-9Ivg6J0xjic4znbfN3_76HX6quIGo5sydsEub8aMXrv9_MQsfAorYc4gUOwgIGK9JOpu0ysmI_dXFFtwlRk6LarMYu5xEgOHsJ2_9qHgKdw4Kf3MTFKX2v2EkBD5e80zC9tEZXUnFJnCfPLbaGCGv2h4omcpK10ntHdYvaVBA" alt="AWS Lambda function box"><figcaption><p>AWS Lambda function box</p></figcaption></figure>
<figure><img src="https://lh3.googleusercontent.com/3WjrkRdG1_TnfQ5w-9Ivg6J0xjic4znbfN3_76HX6quIGo5sydsEub8aMXrv9_MQsfAorYc4gUOwgIGK9JOpu0ysmI_dXFFtwlRk6LarMYu5xEgOHsJ2_9qHgKdw4Kf3MTFKX2v2EkBD5e80zC9tEZXUnFJnCfPLbaGCGv2h4omcpK10ntHdYvaVBA" alt=""><figcaption><p>AWS Lambda function box</p></figcaption></figure>
5. In the **Resources**, lick the new **POST** method.
6. Click **Integration Request** (top right on the AWS Gateway POST method execution screen).\\
6. Click **Integration Request** (top right on the AWS Gateway POST method execution screen).

<figure><img src="https://lh5.googleusercontent.com/_Prq2fJ7F-NE4jEiw1tqYIn0Bq-HTG0_wahTwkrod8zisAkjtKmL3O1Y0c8XEh2iYeibdkh1jWYR3V_jGvdWCbUEfE5LXd7I7cTovohFD81-NFGTvesu1jIFGKjRIWm88dAG_qcgKBQVMO7YrHvVcnERYFvr91I18K36137u2z4suVA_3P_xj8aCpQ" alt="AWS Gateway POST method execution"><figcaption><p>AWS Gateway POST method execution</p></figcaption></figure>
<figure><img src="https://lh5.googleusercontent.com/_Prq2fJ7F-NE4jEiw1tqYIn0Bq-HTG0_wahTwkrod8zisAkjtKmL3O1Y0c8XEh2iYeibdkh1jWYR3V_jGvdWCbUEfE5LXd7I7cTovohFD81-NFGTvesu1jIFGKjRIWm88dAG_qcgKBQVMO7YrHvVcnERYFvr91I18K36137u2z4suVA_3P_xj8aCpQ" alt=""><figcaption><p>AWS Gateway POST method execution</p></figcaption></figure>
7. Scroll to the bottom and add a **Mapping Template** with **application/json Content-Type**. To the template add the following code:\
`{`\
`"method": "$context.httpMethod",`\
Expand All @@ -28,4 +28,4 @@ Follow these steps to add the POST Method:
`}`
8. Verify the resulting display reflects these entries.

<figure><img src="https://lh6.googleusercontent.com/d0AynUJWVROWc0ff2EnY_NAT7kqkrvBThXMw8d9D0StX1KKoig7ol2uDqLoMOCt7UBP7C3RYiSUrcZlg9yglP08fVXf8WBxOvGHtV25hw5PsfQC_lWfoDJkl38kIaqBNxIdg_k7W4Qg5jvQ-faPp4ySOF5j15vWRxCEjxzvAIhsHpl3s3dE2lolJdg" alt="AWS API Gateway POST request Mapping Template with code"><figcaption><p>AWS API Gateway POST request Mapping Template with code</p></figcaption></figure>
<figure><img src="https://lh6.googleusercontent.com/d0AynUJWVROWc0ff2EnY_NAT7kqkrvBThXMw8d9D0StX1KKoig7ol2uDqLoMOCt7UBP7C3RYiSUrcZlg9yglP08fVXf8WBxOvGHtV25hw5PsfQC_lWfoDJkl38kIaqBNxIdg_k7W4Qg5jvQ-faPp4ySOF5j15vWRxCEjxzvAIhsHpl3s3dE2lolJdg" alt=""><figcaption><p>AWS API Gateway POST request Mapping Template with code</p></figcaption></figure>
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ Follow these steps to deploy the POST method:

1. Go to the **Resources** tab.
2. Click **POST**.
3. On the **Actions** tab, click **Deploy API**.\\
3. On the **Actions** tab, click **Deploy API**.

<figure><img src="https://lh3.googleusercontent.com/MVnbbBF4_quh1tD-sWln5t7RdNn6kui43IRi_KHshS-jKEDVkFmsf9IpAI7Ly1Eo6ZPLnVx3WTZJ13qJdTKPWm9vr2FU1ERamyAo7N1-687QeGswSozAvB9eo8oyafqCdoDxt4nlGSDZBoyh2zf6ONWZDnN656UyodXV07glWvxCfBlkfPf7Sz8HLg" alt="AWS API Gateway POST method Resources, Action tab with Deploy API selected"><figcaption><p>AWS API Gateway POST method Resources, Action tab with Deploy API selected</p></figcaption></figure>
4. Select the **Deployment stage** to which you want to deploy the new API, in this case, the **default** stage.\\
<figure><img src="https://lh3.googleusercontent.com/MVnbbBF4_quh1tD-sWln5t7RdNn6kui43IRi_KHshS-jKEDVkFmsf9IpAI7Ly1Eo6ZPLnVx3WTZJ13qJdTKPWm9vr2FU1ERamyAo7N1-687QeGswSozAvB9eo8oyafqCdoDxt4nlGSDZBoyh2zf6ONWZDnN656UyodXV07glWvxCfBlkfPf7Sz8HLg" alt=""><figcaption><p>AWS API Gateway POST method Resources, Action tab with Deploy API selected</p></figcaption></figure>
4. Select the **Deployment stage** to which you want to deploy the new API, in this case, the **default** stage.

<figure><img src="https://lh6.googleusercontent.com/xiLxfQ4yO5vb39TKW84JQe8X05sZ01stYMXtY9H8w-V2vad54nEtBI94mYQBUnGGMrmp0aEiMrn5OA9xtDnqH3BjS1UyrE0Bxsx6-Oui3XW5vxi15x0AN-rMZCWHgi2NEhNxOc-PkYbpFCJLn6n88wfDetGwi19ka0ZojM2cNLyEjeGPugScFtAcww" alt="AWS Gateway Deploy API to default stage"><figcaption><p>AWS Gateway Deploy API to default stage</p></figcaption></figure>
<figure><img src="https://lh6.googleusercontent.com/xiLxfQ4yO5vb39TKW84JQe8X05sZ01stYMXtY9H8w-V2vad54nEtBI94mYQBUnGGMrmp0aEiMrn5OA9xtDnqH3BjS1UyrE0Bxsx6-Oui3XW5vxi15x0AN-rMZCWHgi2NEhNxOc-PkYbpFCJLn6n88wfDetGwi19ka0ZojM2cNLyEjeGPugScFtAcww" alt=""><figcaption><p>AWS Gateway Deploy API to default stage</p></figcaption></figure>
5. Navigate back to your Lambda function and In the Lambda trigger configuration, verify you see a new API endpoint.
6. Copy the API endpoint from the API Gateway boxes (obscured) for use in setting up the Snyk webhook.

<figure><img src="https://lh4.googleusercontent.com/EOoL3PCnKMj0HI6jkRdVsE44DwAcnFN8M8jM3Obp_FA5AXTryIHTMtGn66LlSTquVfH__0wVfjKV5bUTCxwgJzClgcdPqFTrtaq57NCd-eKBoSgFFHN49Fdqw8OsBLQai5pFsGQwGhcNpqIeto4fmXozicUeJ2A25wkh81HVmxrQH53IS-oEZZTlmQ" alt="AWS Lambda function trigger configuration showing new endpoint"><figcaption><p>AWS Lambda function trigger configuration showing new endpoint</p></figcaption></figure>
7. Now that the API endpoint is saved, set up the Snyk Webhook.\\
<figure><img src="https://lh4.googleusercontent.com/EOoL3PCnKMj0HI6jkRdVsE44DwAcnFN8M8jM3Obp_FA5AXTryIHTMtGn66LlSTquVfH__0wVfjKV5bUTCxwgJzClgcdPqFTrtaq57NCd-eKBoSgFFHN49Fdqw8OsBLQai5pFsGQwGhcNpqIeto4fmXozicUeJ2A25wkh81HVmxrQH53IS-oEZZTlmQ" alt=""><figcaption><p>AWS Lambda function trigger configuration showing new endpoint</p></figcaption></figure>
7. Now that the API endpoint is saved, set up the Snyk Webhook.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Follow these steps to add the AWS API Gateway to the function:
Select **REST API**.\
Select **API key** as **Security**.\
In the **Additional settings**, enter the **API name** and select **default** as the **Deployment stage**.
4. Verify that the screen looks like this.\\
4. Verify that the screen looks like this.

<figure><img src="https://lh4.googleusercontent.com/MsJp0QG0nnTA4xr4uwH1L3cpSGMqEuDY-LnSpJUqIZKzpq8ZUL332aBGEYJOa2pjZ466lqJGxDYluJo0-XRzd7AHSkPdEFKEbG-AoCmQVFL79DBWdJNXI3mqBVOmRX242Xu9jEl8OBb2ovj2xLPliixrD3xrQVukrYyH2VSWKvk-RkZ_LYuEaCV-CA" alt="AWS Lambda function Add trigger interface"><figcaption><p>AWS Lambda function Add trigger interface</p></figcaption></figure>
<figure><img src="https://lh4.googleusercontent.com/MsJp0QG0nnTA4xr4uwH1L3cpSGMqEuDY-LnSpJUqIZKzpq8ZUL332aBGEYJOa2pjZ466lqJGxDYluJo0-XRzd7AHSkPdEFKEbG-AoCmQVFL79DBWdJNXI3mqBVOmRX242Xu9jEl8OBb2ovj2xLPliixrD3xrQVukrYyH2VSWKvk-RkZ_LYuEaCV-CA" alt=""><figcaption><p>AWS Lambda function Add trigger interface</p></figcaption></figure>
5. Continue by following the steps to set up the AWS API Gateway.
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# Set up the Snyk Webhook
# Set up the Snyk webhook

You will set up the Snyk Webhook using the [Snyk API v1](https://snyk.docs.apiary.io/#reference/webhooks/webhook-collection/create-a-webhook) including the built-in console.

To set up the Snyk Webhook, follow these steps:

1. Copy your **Organization ID** from the **Organization** settings in the Snyk Web UI.\\
1. Copy your **Organization ID** from the **Organization** settings in the Snyk Web UI.

<figure><img src="https://lh3.googleusercontent.com/n5_nk9_s2lIb982FQV8LwIQzgYWxC6xeDKEiZMnN_TvrAuDV5oWvCR2RO15XMzyhvVpQwpg1IcL97ljvhis1Q3hfynm91EEqRQvaA7mdkeholt_JvmKPeq1eVmgmnQu5Iaahmdl4UC_8oPP4A6kSGUBO7iz0YPrBca4hbhXOLndO_DLK0NkPPK4dmQ" alt="Snyk Web UI copy Organization ID"><figcaption><p>Snyk Web UI copy Organization ID</p></figcaption></figure>
2. Get your organization admin **API Token** from the Snyk Web UI, either from a Service Account or your own account.\\
<figure><img src="https://lh3.googleusercontent.com/n5_nk9_s2lIb982FQV8LwIQzgYWxC6xeDKEiZMnN_TvrAuDV5oWvCR2RO15XMzyhvVpQwpg1IcL97ljvhis1Q3hfynm91EEqRQvaA7mdkeholt_JvmKPeq1eVmgmnQu5Iaahmdl4UC_8oPP4A6kSGUBO7iz0YPrBca4hbhXOLndO_DLK0NkPPK4dmQ" alt=""><figcaption><p>Snyk Web UI copy Organization ID</p></figcaption></figure>
2. Get your Organization admin **API Token** from the Snyk Web UI, either from a Service Account or your own account.

<figure><img src="https://lh4.googleusercontent.com/MMFNYicHGcrUS0OivVU5TzjZLM90tyjlULOXxl1lDov1vCBwg93f6w2X-3TA2fP-cQSyOCLNHCwPit1EijUGgtYv9lxgJqNC2sU67a0fOSDn9nwi-bULgLPJ2x3l8EeWflr8w8CcccL2ahfLRFwVcSZHgj3XJLqB3cd_9XzO4gcVzlsPhCiJyZPMWA" alt="Snyk Web UI get API Token"><figcaption><p>Snyk Web UI get API Token</p></figcaption></figure>
3. Switch to **Console** in the Snyk API v1 and add your organization ID as a parameter.\\
<figure><img src="../../../../.gitbook/assets/account-settings-general-auth-token.png" alt=""><figcaption><p>Snyk Web UI get API Token</p></figcaption></figure>
3. Switch to **Console** in the Snyk API v1 and add your organization ID as a parameter.

<figure><img src="https://lh3.googleusercontent.com/-sXMkOgM3GdCYP-15KqxtZ5DhxZlV3coqUZLYNdNnpVSdCFMH7wZApPhJAr9_8JxzAqyZOFGdIpqjT1t5Jpj570jQ67ykj_L3db4Gph3s74QOXdXjTwEJdRHRfWW0jpY14_lBAOinKC4x1An7yIIfHI-lk-cMULUosb8uDxC_z9mleGNkbdwUC3zVA" alt="Snyk API v1 add orgId to POST to Create a webhook"><figcaption><p>Snyk API v1 add orgId to POST to Create a webhook</p></figcaption></figure>
4. In the Headers section add your Snyk API key to the **Authorization**.\\
<figure><img src="https://lh3.googleusercontent.com/-sXMkOgM3GdCYP-15KqxtZ5DhxZlV3coqUZLYNdNnpVSdCFMH7wZApPhJAr9_8JxzAqyZOFGdIpqjT1t5Jpj570jQ67ykj_L3db4Gph3s74QOXdXjTwEJdRHRfWW0jpY14_lBAOinKC4x1An7yIIfHI-lk-cMULUosb8uDxC_z9mleGNkbdwUC3zVA" alt=""><figcaption><p>Snyk API v1 add orgId to POST to Create a webhook</p></figcaption></figure>
4. In the Headers section add your Snyk API key to the **Authorization**.

<figure><img src="https://lh6.googleusercontent.com/nhlX0u7hJZSTue4rK01FLvComCMVmEQc1uE_z0nsnQ2_uK0ew5TFryBrTBkL24AKj03NjwKZvK5DsoN6j3fdKu0K9lX2a6SN2JP30m5-ST_Fj-IlMYO4Nu6PwDaDMeQH0ZPzyCF7__zc77iIaHRxxV2_57JDmgv7NbCeJi3Ti3LwP5K9UyYpkrma1A" alt="Snyk API v1 add API key to Authorization"><figcaption><p>Snyk API v1 add API key to Authorization</p></figcaption></figure>
<figure><img src="https://lh6.googleusercontent.com/nhlX0u7hJZSTue4rK01FLvComCMVmEQc1uE_z0nsnQ2_uK0ew5TFryBrTBkL24AKj03NjwKZvK5DsoN6j3fdKu0K9lX2a6SN2JP30m5-ST_Fj-IlMYO4Nu6PwDaDMeQH0ZPzyCF7__zc77iIaHRxxV2_57JDmgv7NbCeJi3Ti3LwP5K9UyYpkrma1A" alt=""><figcaption><p>Snyk API v1 add API key to Authorization</p></figcaption></figure>
5. In the Body section add your values\
`{`\
`“url”: “value-of-your-public-url”,`\
`“secret”: “value-of-your-lambda-secret-environment-variable”`\
`}`\\
`}`

<figure><img src="https://lh5.googleusercontent.com/VXsSM6NFIWtWa_D4t_pJsWMUm3jHLMxSTEH8N7uLmb7IX98oxfm80_nPg0F6SGd-ffqth-iH3a2afcRQvE58hl5YoAP0NfvfaSPeUP6osRYdnPiPd1-ZOGUajvFk3vvOfXye_khV6lOylFC-T-47nLjclQD7ls8soL-EbWa8KAznWZJeLtj05eshSQ" alt="Snyk API v1 POST body"><figcaption><p>Snyk API v1 POST body</p></figcaption></figure>
<figure><img src="https://lh5.googleusercontent.com/VXsSM6NFIWtWa_D4t_pJsWMUm3jHLMxSTEH8N7uLmb7IX98oxfm80_nPg0F6SGd-ffqth-iH3a2afcRQvE58hl5YoAP0NfvfaSPeUP6osRYdnPiPd1-ZOGUajvFk3vvOfXye_khV6lOylFC-T-47nLjclQD7ls8soL-EbWa8KAznWZJeLtj05eshSQ" alt=""><figcaption><p>Snyk API v1 POST body</p></figcaption></figure>
6. Click **Call Resource**.

With this request done, your connection from Snyk to Slack will be completed. Every time there is a new vulnerability, you will get a new notification.
Loading

0 comments on commit 1cde1e1

Please sign in to comment.