Fastly Feed

Use Fastly Feed to get assigned CIDRs and add them to your firewall's allowlist in order to enable using Fastly's services.

Data Enrichment & Threat Intelligence · Fastly Feed · Feed

Details

IDFastly Feed
ProviderFastly
CategoryData Enrichment & Threat Intelligence
From Version5.5.0
Docker Imagedemisto/py3-tools:1.0.0.114656
Supported ModulesAgentix XSIAM

README

Use Fastly Feed to get assigned CIDRs and add them to your firewall’s allow-list in order to enable using Fastly’s services.

Configure Fastly Feed in Cortex

Parameter Description Required
Fetch indicators   False
Indicator Reputation Indicators from this integration instance will be marked with this reputation False
Source Reliability Reliability of the source providing the intelligence data True
Traffic Light Protocol Color The Traffic Light Protocol (TLP) designation to apply to indicators fetched from the feed False
    False
    False
Feed Fetch Interval   False
Bypass exclusion list When selected, the exclusion list is ignored for indicators from this feed. This means that if an indicator from this feed is on the exclusion list, the indicator might still be added to the system. False
Enrichment Excluded Select this option to exclude the fetched indicators from the enrichment process. False
Tags Supports CSV values. False
Trust any certificate (not secure)   False
Use system proxy settings   False

Commands

You can execute these commands from the CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.

fastly-get-indicators


Fetches indicators from the feed.

Base Command

fastly-get-indicators

Input

Argument Name Description Required
limit limits the number of context indicators to output. Default is 50. Optional

Context Output

There is no context output for this command.

Configuration parameters

  • feed — Fetch indicators
  • feedReputation — Indicator Reputation
  • feedReliability — Source Reliability (required)
  • tlp_color — Traffic Light Protocol Color
  • feedExpirationPolicy
  • feedExpirationInterval
  • feedFetchInterval — Feed Fetch Interval
  • feedBypassExclusionList — Bypass exclusion list
  • enrichmentExcluded — Enrichment Excluded
  • feedTags — Tags
  • insecure — Trust any certificate (not secure)
  • proxy — Use system proxy settings

Commands (1)

  • fastly-get-indicators

    Fetches indicators from the feed.

import demistomock as demisto
from CommonServerPython import *
from JSONFeedApiModule import *  # noqa: E402


def main():
    try:
        params = {k: v for k, v in demisto.params().items() if v is not None}

        params["feed_name_to_config"] = {
            "CIDR": {
                "url": "https://api.fastly.com/public-ip-list",
                "extractor": "addresses[].{ip:@}",
                "indicator": "ip",
                "indicator_type": FeedIndicatorType.CIDR,
            },
            "IPv6CIDR": {
                "url": "https://api.fastly.com/public-ip-list",
                "extractor": "ipv6_addresses[].{ip:@}",
                "indicator": "ip",
                "indicator_type": FeedIndicatorType.IPv6CIDR,
            },
        }

        feed_main(params, "Fastly Feed", "fastly")
    except Exception as e:
        return_error(f"Failed to execute {demisto.command()} command.\nError:\n{e!s}")


if __name__ in ("__main__", "__builtin__", "builtins"):
    main()