Skip to content

Instantly share code, notes, and snippets.

@foospidy
foospidy / sigsci-integration-replace.sh
Last active April 4, 2023 23:03
Update/replace integration configuration in Signal Sciences
#!/usr/bin/env bash
###################
# Signal Sciences helper script:
# sigsci-integration-replace.sh
# For a given configuration, the script will delete all instances based on type and url,
# it will then recreate the configuration with the specified events.
# Requires:
# - pysigsci (https://pypi.org/project/pysigsci/)
# - jq (https://stedolan.github.io/jq/)