agentleFS
acquiaacquia/acquia-skills/skills/acli/meo-cdn-security/SKILL.md

meo-cdn-security

Skill10 starsChanged 38 days agoMITView on GitHub

Use when managing MEO CDN domains, security rulesets, IP rules, custom security rules, rate limiting rules, failover groups, or purging CDN cache for a subscription or environment.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Note: All commands use acli api:v3:*.

    line 26

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

MEO CDN & Security

Platform: This skill applies to MEO (Multi-site Enterprise Operations) subscriptions only. These are [development-stability] commands and may change without notice.

Use when:

  • Listing or provisioning CDN domains for a subscription
  • Purging CDN cache for an environment
  • Managing security rulesets, IP rules, custom rules, or rate limiting rules
  • Configuring multi-region failover groups

Note: All commands use acli api:v3:*. Run acli list api:v3:subscriptions and acli list api:v3:failover-groups to see all current commands.


CDN Domains

# List CDN domains for a subscription
acli api:v3:subscriptions:list-domains <subscriptionUuid>

# Get details for a specific domain
acli api:v3:subscriptions:find-domain <subscriptionUuid> <domainName>

Provision a Domain for CDN

acli api:v3:subscriptions:provision-domain <subscriptionUuid> <domainName> <environment_id>

Deprovision a Domain from CDN

Caution: Removes CDN acceleration for the domain. Traffic routing may change. Confirm with the user before executing.

acli api:v3:subscriptions:deprovision-domain <subscriptionUuid> <domainName>

CDN Cache Purge

# Purge by URL
acli api:v3:environments:purge-cdn <environmentId> url --values='["https://example.com/page"]'

# Purge by cache tag
acli api:v3:environments:purge-cdn <environmentId> tag --values='["node:123","term:456"]'

# Purge everything
acli api:v3:environments:purge-cdn <environmentId> all

Security Rulesets

Rulesets are predefined security configurations that can be enabled or disabled:

# List available rulesets
acli api:v3:subscriptions:list-security-rule-sets <subscriptionUuid>

# Get details for a specific ruleset
acli api:v3:subscriptions:find-security-rule-set <subscriptionUuid> <ruleSetId>

# Enable or disable a ruleset
acli api:v3:subscriptions:update-security-rule-set <subscriptionUuid> <ruleSetId> <is_enabled>

IP Rules

IP rules allow or block specific IP addresses or CIDR blocks:

# List IP rules
acli api:v3:subscriptions:list-ip-rules <subscriptionUuid>

# Get a specific rule
acli api:v3:subscriptions:find-ip-rule <subscriptionUuid> <ipRuleId>

# Create an IP rule
acli api:v3:subscriptions:create-ip-rule <subscriptionUuid> <ips> <action> <display_name>
ArgumentDescription
ipsSpace-separated IPs or CIDR blocks (e.g. 192.168.1.1 10.0.0.0/24)
actionallow or block
display_nameFriendly name for the rule
# Example: Block a known bad actor
acli api:v3:subscriptions:create-ip-rule <subscriptionUuid> \
  "203.0.113.0/24" block "Block suspicious range"
# Update an IP rule
acli api:v3:subscriptions:update-ip-rule <subscriptionUuid> <ipRuleId> \
  --display_name="Updated rule" --action=allow

Destructive operation — explicit approval required. Deleting an IP rule removes access control for those IPs. Confirm with the user before executing.

acli api:v3:subscriptions:delete-ip-rule <subscriptionUuid> <ipRuleId>

Custom Security Rules

Custom rules add fine-grained WAF-style control by domain and path:

# List custom rules
acli api:v3:subscriptions:list-custom-rules <subscriptionUuid>

# Create a custom rule
acli api:v3:subscriptions:create-custom-rule <subscriptionUuid> \
  <display_name> <action> <domains> <paths>
# Get or update a rule
acli api:v3:subscriptions:find-custom-rule <subscriptionUuid> <customRuleId>
acli api:v3:subscriptions:update-custom-rule <subscriptionUuid> <customRuleId> ...

Destructive operation — explicit approval required. Deleting a custom security rule removes that protection. Confirm with the user before executing.

acli api:v3:subscriptions:delete-custom-rule <subscriptionUuid> <customRuleId>

Rate Limiting Rules

# List rate limiting rules
acli api:v3:subscriptions:list-rate-limiting-rules <subscriptionUuid>

# Create a rate limiting rule
acli api:v3:subscriptions:create-rate-limiting-rule <subscriptionUuid> \
  <display_name> <action> <rate_limit_per_minute>
# Get, update a rule
acli api:v3:subscriptions:find-rate-limiting-rule <subscriptionUuid> <rateLimitingRuleId>
acli api:v3:subscriptions:update-rate-limiting-rule <subscriptionUuid> <rateLimitingRuleId> ...

Destructive operation — explicit approval required. Deleting a rate limiting rule removes traffic protection. Confirm with the user before executing.

acli api:v3:subscriptions:delete-rate-limiting-rule <subscriptionUuid> <rateLimitingRuleId>

Failover Groups

Failover groups manage multi-region redundancy for MEO environments:

# List failover groups
acli api:v3:failover-groups:list

# Get a failover group
acli api:v3:failover-groups:find <failoverGroupId>

# Create a failover group
acli api:v3:failover-groups:create <name>

Initiate Failover

Destructive operation — explicit approval required. Initiates failover, switching traffic from the primary region to the secondary. This affects all live traffic. Confirm with the user before executing.

acli api:v3:failover-groups:failover <failoverGroupId>

Revert Failover

Destructive operation — explicit approval required. Reverts failover, switching traffic back to the primary region. Confirm with the user before executing.

acli api:v3:failover-groups:revert-failover <failoverGroupId>

Sync a Failover Group

acli api:v3:failover-groups:sync <failoverGroupId>

Delete a Failover Group

Destructive operation — explicit approval required. Permanently removes the failover group. Confirm with the user before executing.

acli api:v3:failover-groups:delete <failoverGroupId>

Discover More Commands

acli list api:v3:subscriptions
acli list api:v3:failover-groups
acli api:v3:subscriptions:create-ip-rule --help

Related Topics

  • MEO Overview — ACE vs MEO, data model
  • MEO Environments — Environment-level CDN purge
  • MEO Identity & Access — SSO and federated authentication

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.