Cloudflare Feed

Use the Cloudflare feed integration to fetch indicators from the feed.

Data Enrichment & Threat Intelligence · Cloudflare Feed · Feed

Details

IDCloudflare Feed
ProviderCloudflare
CategoryData Enrichment & Threat Intelligence
From Version5.5.0
Docker Imagedemisto/python3:3.12.13.10116658
Supported ModulesAgentix XSIAM

README

Use the Cloudflare feed integration to fetch indicators from the feed.

Configure Cloudflare Feed in Cortex

Parameter Description Required
Services   True
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
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
Request Timeout Timeout of the polling request in seconds. 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.

cloudflare-get-indicators


Gets the feed indicators.

Base Command

cloudflare-get-indicators

Input

Argument Name Description Required
limit The maximum number of results to return. The default value is 50. Default is 50. Optional

Context Output

There is no context output for this command.

Configuration parameters

  • url — Services (required)
  • feed — Fetch indicators
  • feedReputation — Indicator Reputation
  • feedReliability — Source Reliability (required)
  • tlp_color — Traffic Light Protocol Color
  • feedExpirationPolicy
  • cidr_32_to_ip — Set /32 CIDRs as IP Indicators
  • feedExpirationInterval
  • feedFetchInterval — Feed Fetch Interval
  • feedBypassExclusionList — Bypass exclusion list
  • enrichmentExcluded — Enrichment Excluded
  • polling_timeout — Request Timeout
  • feedTags — Tags
  • insecure — Trust any certificate (not secure)
  • proxy — Use system proxy settings

Commands (1)

  • cloudflare-get-indicators

    Gets the feed indicators.

from CommonServerPython import *


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

    feed_url_to_config = {
        "https://www.cloudflare.com/ips-v4": {"indicator_type": FeedIndicatorType.CIDR},
        "https://www.cloudflare.com/ips-v6": {"indicator_type": FeedIndicatorType.IPv6CIDR},
    }

    params["feed_url_to_config"] = feed_url_to_config

    # Call the main execution of the HTTP API module.
    feed_main("Cloudflare Feed", params, "cloudflare-")


from HTTPFeedApiModule import *  # noqa: E402

if __name__ == "__builtin__" or __name__ == "builtins":
    main()