Fastly
Visualize Fastly data, map Fastly users to employees, and monitor changes through queries and alerts.
- Installation
- Data Model
Installation
To install this integration, you will create a Fastly API token with read-only access to your account, then provide it along with your Customer ID when configuring the integration in JupiterOne.
Prerequisites
The integration performs read-only calls to the Fastly API to enumerate your
account, users, tokens, and services. To return the full set of account data,
the token must be created by a Superuser so it carries account-wide read
access, and it must be scoped for read-only access (global:read). See
Fastly's User roles and permissions
and Managing account-level API tokens
guides for details.
A token created by a non-superuser, or one restricted to a subset of services, will only return the resources it can access, so some of your account's data may be missing from JupiterOne.
Configuration in Fastly
- Find your Customer ID in the Fastly control panel under Account > Company at manage.fastly.com/account/company.
- Create the API token in the Fastly control panel under
Account > API tokens at manage.fastly.com/account/personal/tokens.
This is the same Account > API tokens page used for personal tokens;
selecting the Automation token card below creates the account-wide token
the integration needs, not a user-scoped personal token.
Click Create token, re-authenticate when prompted, and select the
Automation token card. Choose a Role and a read-only Scope
(
global:read), set Service access to all services, and select an Expiration. Click Create automation token to generate the token.
Copy the token string when it is displayed. This is the only time the token will be visible.
Configuration in JupiterOne
To install the Fastly integration in JupiterOne, navigate to the Integrations tab in JupiterOne and select Fastly. Click New Instance to begin configuring your integration.
Creating an instance requires the following:
- The Account Name used to identify the Fastly account in JupiterOne.
Ingested entities will have this value stored in
tag.AccountNamewhen theAccountNametoggle is enabled. - A Description to assist in identifying the integration instance, if desired.
- A Polling Interval that fits your monitoring needs. You may leave this as
DISABLEDand manually execute the integration. - Your Fastly Customer ID, found at manage.fastly.com/account/company.
- Your Fastly API Token, generated at manage.fastly.com/account/personal/tokens.
Click Create once all values are provided to finalize the integration.
Next steps
Now that your integration instance has been configured, it will begin running on the polling interval you provided, populating data within JupiterOne. Continue on to our Instance management guide to learn more about working with and editing integration instances.
Entities
The following entities are created:
| Resources | Entity _type | Entity _class |
|---|---|---|
| Account | fastly_account | Account |
| API Token | fastly_api_token | AccessKey |
| Service | fastly_service | Service |
| Service Backend | fastly_service_backend | ApplicationEndpoint |
| User | fastly_user | User |
Relationships
The following relationships are created:
Source Entity _type | Relationship _class | Target Entity _type |
|---|---|---|
fastly_account | HAS | fastly_user |
fastly_account | HAS | fastly_api_token |
fastly_account | HAS | fastly_service |
fastly_service | HAS | fastly_service_backend |
fastly_user | HAS | fastly_api_token |
Mapped Relationships
The following mapped relationships are created:
Source Entity _type | Relationship _class | Target Entity _type | Direction |
|---|---|---|---|
fastly_service | CONNECTS | DomainRecord | FORWARD |
fastly_service_backend | CONNECTS | Host or Gateway | FORWARD |