Splunk appdynamics controller admin setup

From chambear2809/splunk-cisco-skills · View interactive version

Splunk appdynamics controller admin setup is an AI agent skill from the GitHub repository chambear2809/splunk-cisco-skills. Use when the user asks for AppDynamics Controller administration, API clients, OAuth, RBAC, SAML, LDAP, user/group/role management, account permissions, licensing, license rules, sensitive data controls, SQL/log masking, environment variable filtering, or privacy validation. Render and validate Splu

How to use this skill

Skill file

Splunk AppDynamics Controller Admin Setup

Prerequisites

| Tool or access | Purpose | Verify |

|---|---|---|

| Bash and Python 3 | Run bundled setup and validation helpers | bash --version && python3 --version |

| Required product/platform access | Inspect or configure the selected target | Complete the documented preflight |

| Credential files for live modes | Keep secrets out of chat | Verify paths only |

Workflow Overview

┌───────────┐   ┌───────────────┐   ┌───────────────┐   ┌─────────────────┐
│ Preflight │ → │ Render/review │ → │ Apply/handoff │ → │ Validate evidence │
└───────────┘   └───────────────┘   └───────────────┘   └─────────────────┘

When to Activate

management, account permissions, licensing, license rules, sensitive data controls, SQL/log masking, environment

variable.

Scope

Follow the documented read-only or render-first path whenever it is available.

This skill does not imply permission to mutate live systems. Require explicit

apply flags, protected credentials, and operator review for state changes.

Examples

Inspect the supported setup modes before selecting one:

bash skills/splunk-appdynamics-controller-admin-setup/scripts/setup.sh --help

Expected output: usage, supported modes, and required arguments are displayed

without changing the target environment.

Inspect validation modes before running completion checks:

bash skills/splunk-appdynamics-controller-admin-setup/scripts/validate.sh --help

Expected output: offline, live, and completion options are displayed when the

skill supports them; help exits without mutation.

Troubleshooting

| Issue | Cause | Resolution |

|---|---|---|

| Preflight fails | A required tool or access path is missing | Resolve it before rendering or applying |

| Rendered assets are incomplete | Required non-secret inputs are absent | Complete intake and render again |

| Apply is blocked | Review, credentials, or explicit acceptance is missing | Use the documented handoff |

| Validation is incomplete | Live evidence is unavailable | Record the gap and keep completion open |

Controller administration renders documented API/UI runbooks and read-only

probes. This wrapper does not mutate users, groups, roles, API clients, license

rules, identity providers, or privacy controls; --apply fails closed. The

license-usage reporter is the concrete read-only action path.

bash skills/splunk-appdynamics-controller-admin-setup/scripts/setup.sh --render
bash skills/splunk-appdynamics-controller-admin-setup/scripts/validate.sh
bash skills/splunk-appdynamics-controller-admin-setup/scripts/license_usage_report.sh \
  --controller-url "$APPD_CONTROLLER_URL" \
  --account-name "$APPD_ACCOUNT_NAME" \
  --account-id "$APPD_ACCOUNT_ID" \
  --api-client-name "$APPD_API_CLIENT_NAME" \
  --client-secret-file "$APPD_OAUTH_CLIENT_SECRET_FILE" \
  --deep \
  --output-dir ./appd-license-report

Secrets such as OAuth client secrets and passwords must be referenced by

chmod-600 files.

The license usage reporter is read-only. It polls documented Controller License

API endpoints and writes a customer-facing Markdown consumption report plus

complete JSON and CSV exports for timestamp-level analysis.

Live validation notes:

tenant key, or GUID-like acctId/tntId claim in an OAuth token.

chmod-600 local files, not inline secret values.

license endpoints return 403 for ACCOUNT_LICENSE, LICENSE_USAGE, or

LICENSE_RULE, assign and save a role on Administration > API Clients.

SaaS tokens omit effective API Client permissions even when License API

readbacks succeed.

the reporter sends that header for OAuth and License API requests.

returns an empty items object, and host usage degrades cleanly when no host

IDs are available.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.