Community
Questions Library
Docs
Blog
Events
Swag
Github
Slack
JupiterOne
Discussions
Release Notes
Contact Us
Fastly - AskJ1 Community
<main> <article class="userContent"> <h2 data-id="fastly-jupiterone-integration-benefits">Fastly + JupiterOne Integration Benefits</h2> <ul><li><p>Visualize Fastly users, API tokens, services, and service backends in the<br> JupiterOne graph.</p></li> <li><p>Map Fastly users to employees in your JupiterOne account.</p></li> <li>Monitor changes to Fastly users and API tokens using JupiterOne alerts.</li> <li>Monitor changes to Fastly services and service backends using JupiterOne<br> alerts.</li> </ul><h2 data-id="how-it-works">How it Works</h2> <ul><li><p>JupiterOne periodically fetches users, tokens, and services from Fastly to<br> update the graph.</p></li> <li><p>Write JupiterOne queries to review and monitor updates to the graph, or<br> leverage existing queries.</p></li> <li><p>Configure alerts to take action when the JupiterOne graph changes, or leverage<br> existing alerts.</p></li> </ul><h2 data-id="requirements">Requirements</h2> <ul><li><p>JupiterOne requires a Fastly customer ID and API token to interact with the<br> API.</p></li> <li><p>You must have permission in JupiterOne to install new integrations.</p></li> </ul><h2 data-id="support">Support</h2> <p>If you need help with this integration, please contact<br><a rel="nofollow" href="https://support.jupiterone.io">JupiterOne Support</a>.</p> <h2 data-id="integration-walkthrough">Integration Walkthrough</h2> <h3 data-id="in-fastly">In Fastly</h3> <p>To conigure this integration you should have an account in Fastly and create an<br><strong>API Token</strong> with Read-only access (<code class="code codeInline" spellcheck="false" tabindex="0">global:read</code>). You will also need the<br><strong>Customer ID</strong> from the settings page of your Fastly account.</p> <ul><li><p>The <strong>Customer ID</strong> can be obtained from<br><a href="https://manage.fastly.com/account/company" rel="nofollow">https://manage.fastly.com/account/company</a></p></li> <li><p>The <strong>API Token</strong> can be created from<br><a href="https://manage.fastly.com/account/personal/tokens" rel="nofollow">https://manage.fastly.com/account/personal/tokens</a></p></li> </ul><h3 data-id="in-jupiterone">In JupiterOne</h3> <ol><li>From the top navigation of the J1 Search homepage, select <strong>Integrations</strong></li> <li>Scroll to the <strong>Fastly</strong> integration tile and click it.</li> <li>Click the <strong>Add Configuration</strong> button and configure the following settings:</li> </ol><ul><li><p>Enter the <strong>Account Name</strong> by which you'd like to identify this Fastly account<br> in JupiterOne. Ingested entities will have this value stored in<br><code class="code codeInline" spellcheck="false" tabindex="0">tag.AccountName</code> when <strong>Tag with Account Name</strong> is checked.</p></li> <li><p>Enter a <strong>Description</strong> that will further assist your team when identifying<br> the integration instance.</p></li> <li><p>Select a <strong>Polling Interval</strong> that you feel is sufficient for your monitoring<br> needs. You may leave this as <code class="code codeInline" spellcheck="false" tabindex="0">DISABLED</code> and manually execute the integration.</p></li> <li><p>Enter the <strong>Customer ID</strong> associated with your Fastly account.</p></li> <li>Enter the <strong>API Token</strong> generated from your Fastly account (by a superuser so<br> it is associated with the organization, not the user) with global read<br> permissions.</li> </ul><ol start="4"><li>Click <strong>Create Configuration</strong> once all values are provided.</li> </ol><h2 data-id="how-to-uninstall">How to Uninstall</h2> <ol><li>From the top navigation of the J1 Search homepage, select <strong>Integrations</strong></li> <li>Scroll to the <strong>Fastly</strong> integration tile and click it.</li> <li>Identify and click the <strong>integration to delete</strong>.</li> <li>Click the <strong>trash can</strong> icon.</li> <li>Click the <strong>Remove</strong> button to delete the integration.</li> </ol><p><br></p> <h2 data-id="data-model">Data Model</h2> <h3 data-id="entities">Entities</h3> <p>The following entities are created:</p> <table><thead><tr><th>Resources</th> <th>Entity <code class="code codeInline" spellcheck="false" tabindex="0">_type</code></th> <th>Entity <code class="code codeInline" spellcheck="false" tabindex="0">_class</code></th> </tr></thead><tbody><tr><td>API Token</td> <td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_api_token</code></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">AccessKey</code></td> </tr><tr><td>Account</td> <td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_account</code></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">Account</code></td> </tr><tr><td>Service</td> <td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_service</code></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">Service</code></td> </tr><tr><td>Service Backend</td> <td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_service_backend</code></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">ApplicationEndpoint</code></td> </tr><tr><td>User</td> <td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_user</code></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">User</code></td> </tr></tbody></table><h3 data-id="relationships">Relationships</h3> <p>The following relationships are created:</p> <table><thead><tr><th>Source Entity <code class="code codeInline" spellcheck="false" tabindex="0">_type</code></th> <th>Relationship <code class="code codeInline" spellcheck="false" tabindex="0">_class</code></th> <th>Target Entity <code class="code codeInline" spellcheck="false" tabindex="0">_type</code></th> </tr></thead><tbody><tr><td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_account</code></td> <td><strong>HAS</strong></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_api_token</code></td> </tr><tr><td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_account</code></td> <td><strong>HAS</strong></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_service</code></td> </tr><tr><td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_account</code></td> <td><strong>HAS</strong></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_user</code></td> </tr><tr><td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_service_backend</code></td> <td><strong>CONNECTS</strong></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">Host or Gateway</code></td> </tr><tr><td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_service</code></td> <td><strong>CONNECTS</strong></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">DomainRecord</code></td> </tr><tr><td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_service</code></td> <td><strong>HAS</strong></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_service_backend</code></td> </tr><tr><td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_user</code></td> <td><strong>HAS</strong></td> <td><code class="code codeInline" spellcheck="false" tabindex="0">fastly_api_token</code></td> </tr></tbody></table><p><br></p> </article> </main>