---
"Component CI ID": "CI2355950"
"Workload Name": "ALKS"
"Component Name": "ALKS CLI"
---

<!-- Instructions - Do not modify this section
Note: Once committed, this document is parsed and stored in the PRR reporting system automatically
* The answer guidance is required while completing a PRR to ensure clarity of what is expected when answering a question: https://engineer-handbook.coxautoinc.com/docs/production-readiness-review/questions/
* Review the answer guidance while completing: https://engineer-handbook.coxautoinc.com/docs/production-readiness-review/questions/
* Ensure you are using the latest template from the Bender bot: https://engineer-handbook.coxautoinc.com/docs/bender/
* Fill in the YAML header above with the component and workload details
* Answers must be placed between Start and End markers
* Do not modify areas of the template outside of those noted here
Template Version: "0.0.23"
-->

# Production Readiness Review
## **Build and Deploy**

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| BD 1 | M | **Where is the application and infrastructure code located in GitHub Enterprise?**  |

*Externally-generated - see [guidance](https://engineer-handbook.coxautoinc.com/docs/production-readiness-review/questions/#accordion-guidance-accordion-BD-heading-1).*

**Answer**
<!--Start BD 1-->
> - https://ghe.coxautoinc.com/ETS-CloudAutomation/alks-cli

- [x] Requirement Met
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| BD 2 | H | **Where are the system diagrams, design diagrams, and other documentation stored?**  |

**Answer**
<!--Start BD 2-->
> - README: https://ghe.coxautoinc.com/ETS-CloudAutomation/alks-cli/blob/master/README.md
> - Team Lucid space: https://lucid.app/documents#/teams/356876788?folder_id=377899738

- [x] Requirement Met
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| BD 3 | M | **Where is the runbook that describes how to set up and run the component?**  |

**Answer**
<!--Start BD 3-->
> - https://ghe.coxautoinc.com/ETS-CloudAutomation/alks-cli/blob/master/README.md

- [x] Requirement Met
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| BD 4 | M | **Where do you store your build artifacts?**  |

**Answer**
<!--Start BD 4-->
> - npmjs.com: https://www.npmjs.com/package/alks (~36K downloads/year — primary distribution; `npm install -g alks`)
> - GHE Releases: https://ghe.coxautoinc.com/ETS-CloudAutomation/alks-cli/releases (version markers + changelog; published on each release)
> - Cox Artifactory: available via `cai-npm` virtual repo (lazy proxy from npmjs.com); direct publish to `cai-npm-local` pending (same pattern as alks.js — to be applied before next release)

- [x] Requirement Met
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| BD 5 | M | **Where is a view that communicates build and deployment metrics?**  |

**Answer**
<!--Start BD 5-->
> - GitHub Actions workflows: https://ghe.coxautoinc.com/ETS-CloudAutomation/alks-cli/actions
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| BD 6 | M | **Provide links to the build & deployment systems**  |

**Answer**
<!--Start BD 6-->
> - CI/CD: GitHub Actions on GHE (cai-standard-x86-linux runners)
> - Build and test workflow: https://ghe.coxautoinc.com/ETS-CloudAutomation/alks-cli/blob/master/.github/workflows/build-and-test.yml
> - Release workflow: https://ghe.coxautoinc.com/ETS-CloudAutomation/alks-cli/blob/master/.github/workflows/trigger-release.yml
> - Release tag check: https://ghe.coxautoinc.com/ETS-CloudAutomation/alks-cli/blob/master/.github/workflows/check-for-release-tag.yml
> - Code coverage: https://ghe.coxautoinc.com/ETS-CloudAutomation/alks-cli/blob/master/.github/workflows/code-coverage.yml

- [x] Requirement Met
<!--End-->
&nbsp;
## **Observability**

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| OBS 1 | M | **How do you monitor the performance of the component?**  |

**Answer**
<!--Start OBS 1-->
> - alks-cli is a locally-installed CLI tool — there is no deployed infrastructure to monitor directly.
> - Runtime performance is observable through ALKS Core API response times (New Relic).
> - ALKS Core APM: https://one.newrelic.com/nr1-core/apm/overview/MTg1MDI0OHxBUE18QVBQTElDQVRJT058MTEzMjM2MjMy
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| OBS 2 | H | **How are you monitoring infrastructure availability?**  |

**Answer**
<!--Start OBS 2-->
> - N/A — alks-cli is a stateless CLI with no deployed infrastructure.
> - Availability of the ALKS API that the CLI calls is monitored via ALKS Core (see CI0042503 PRR).
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| OBS 3 | H | **How are you monitoring API availability?**  |

**Answer**
<!--Start OBS 3-->
> - N/A — alks-cli is a CLI tool; it does not expose API endpoints.
> - The ALKS REST API it wraps is monitored by the ALKS Core component.
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| OBS 4 | H | **Provide a link to the central logging search interface, including a commonly used query**  |

**Answer**
<!--Start OBS 4-->
> - N/A — alks-cli is a CLI; it does not produce its own logs in a centralized system.
> - CLI-initiated calls appear in ALKS Core Splunk logs: https://coxauto.splunkcloud.com/en-US/app/cai_cloudops/search?q=search%20%60cai_alks_prod_index%60
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| OBS 5 | H | **What metrics do you alert on?**  |

**Answer**
<!--Start OBS 5-->
> - N/A — no deployed infrastructure. Alerts for ALKS API errors from CLI calls are handled by ALKS Core alerting.
> - Dependabot alerts for security vulnerabilities in npm dependencies are monitored via GHE.
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| OBS 6 | L | **What is the location of the workload dashboard(s)?**  |

**Answer**
<!--Start OBS 6-->
> - ALKS workload dashboard (New Relic): https://one.newrelic.com/nr1-core/apm/overview/MTg1MDI0OHxBUE18QVBQTElDQVRJT058MTEzMjM2MjMy
> - npm download stats: https://www.npmjs.com/package/alks
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| OBS 7 | H | **What details do your component's health checks examine?**  |

**Answer**
<!--Start OBS 7-->
> - N/A — alks-cli is a CLI with no running process or health endpoint.
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| OBS 8 | M | **How do you trace customer requests in your system?**  |

**Answer**
<!--Start OBS 8-->
> - CLI calls include the user's ALKS session context; requests are traceable in ALKS Core via request ID in Splunk logs.
> - Support channel: [#alks-client-support](https://cox.enterprise.slack.com/archives/C4C5MKVQ9)

- [x] Requirement Met
<!--End-->
&nbsp;
## **Incident Response**

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| IR 1 | L | **Link to where post-incident reviews (PIRs) are available**  |

**Answer**
<!--Start IR 1-->
> - [PIR results](https://ghe.coxautoinc.com/ETS-CloudAutomation/cloud-railway-docs/tree/main/PostIncidentReviews)
> - [Cloud Railway Incident Playbook](https://ghe.coxautoinc.com/ETS-CloudAutomation/Cloud-Railway-Runbook/blob/main/incident-playbook.md)

- [x] Requirement Met
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| IR 2 | H | **Link to the PagerDuty technical service where incidents associated with this component are reported.**  |

*Auto-generated - see [guidance](https://engineer-handbook.coxautoinc.com/docs/production-readiness-review/questions/#accordion-guidance-accordion-IR-heading-2).*

**Answer**
<!--Start IR 2-->
> - https://coxauto.pagerduty.com/service-directory/P52HIG3 (ALKS — incidents from CLI consumers route here)

- [x] Requirement Met
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| IR 3 | H | **Link to owner's Support Agreement**  |

**Answer**
<!--Start IR 3-->
> - [Cloud Railway Incident Playbook](https://ghe.coxautoinc.com/ETS-CloudAutomation/Cloud-Railway-Runbook/blob/main/incident-playbook.md)

- [x] Requirement Met
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| IR 4 | M | **What channels does a team monitor to be informed or learn about issues?**  |

**Answer**
<!--Start IR 4-->
> - Slack Support: [#alks-client-support](https://cox.enterprise.slack.com/archives/C4C5MKVQ9)
> - Slack Monitor: [#alks-status](https://cox.enterprise.slack.com/archives/CF91MV8EP)

- [x] Requirement Met
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| IR 5 | M | **What product names is this component or its workload known as?**  |

**Answer**
<!--Start IR 5-->
> - alks-cli
> - ALKS CLI
> - npm package: `alks`
> - Workload: ALKS (AWS Lambda Key Service)

- [x] Requirement Met
<!--End-->
&nbsp;
## **Capacity**

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| CAP 1 | M | **How do you scale your systems in order to increase capacity?**  |

**Answer**
<!--Start CAP 1-->
> - N/A — alks-cli is a stateless CLI distributed via npm. There is no hosted infrastructure to scale.
> - Distribution capacity is handled by npmjs.com and Cox Artifactory.
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| CAP 2 | H | **How do you determine and support capacity requirements?**  |

**Answer**
<!--Start CAP 2-->
> - N/A — CLI; no hosted capacity. Downstream ALKS Core capacity is managed by the ALKS Core component.
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| CAP 3 | M | **What happens when your customers hit limits and get throttled? Can you raise them? How?**  |

**Answer**
<!--Start CAP 3-->
> - N/A — alks-cli itself does not throttle. Rate limiting is enforced by the ALKS Core API; the CLI surfaces the HTTP 429 response to the user.
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| CAP 4 | L | **How do you manage capacity long term?**  |

**Answer**
<!--Start CAP 4-->
> - N/A — CLI. npm download volume (~36K/year) is well within npmjs.com and Artifactory limits.
<!--End-->
&nbsp;
## **Security**

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| SEC 1 | H | **How are you using data encryption across your resources?**  |

**Answer**
<!--Start SEC 1-->
> - alks-cli makes all ALKS API calls over HTTPS (TLS 1.2+). No credentials are stored in plaintext — the CLI uses the OS keychain (`keytar`, optional dependency) or `~/.netrc` for token storage.
> - ALKS session tokens and temporary STS credentials returned by the CLI are written to `~/.aws/credentials` using standard AWS credential file format; no custom persistence layer.

- [x] Requirement Met
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| SEC 2 | H | **Provide a link to the WAF Toolkit report that shows the component's compliance to the Web Application Firewall requirement**  |

**Answer**
<!--Start SEC 2-->
> - N/A — alks-cli is a CLI tool with no web application surface. WAF compliance is not applicable.
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| SEC 3 | H | **Where are the static and dynamic code security scan results? Are there any open highs or criticals?**  |

**Answer**
<!--Start SEC 3-->
> - Dependabot alerts: https://ghe.coxautoinc.com/ETS-CloudAutomation/alks-cli/security/dependabot
> - Veracode and SonarQube: to be onboarded once all ALKS repos (alks.js, terraform-provider-alks) are migrated to GHE
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| SEC 4 | N/A | **If the component is an API, link the Cox Automotive API Storefront location. Additionally, state whether it is external (non-Cox), internal (Cox only), or both.**  |

**Answer**
<!--Start SEC 4-->
> - N/A — alks-cli is a CLI tool, not an API.
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| SEC 5 | H | **Please provide a reference to the plan that ensures this component remains compliant with CAI OS Patching standards.**  |

**Answer**
<!--Start SEC 5-->
> - N/A — alks-cli is a stateless CLI with no hosted infrastructure or OS footprint.
<!--End-->
&nbsp;
## **Dependencies**

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| DEP 1 | N/A | **What Cox Automotive workloads or components does this component depend on?**  |

**Answer**
<!--Start DEP 1-->
> - ALKS Core (CI0042503) — all CLI commands call the ALKS REST API
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| DEP 2 | N/A | **What external services or products does this component depend on?**  |

**Answer**
<!--Start DEP 2-->
> - npmjs.com — public package registry for distribution
> - Key runtime npm dependencies: `alks.js` (^2.14.0 — internal ALKS JS SDK), `axios` (^1.7.9 — HTTP client), `@google-analytics/data` (^4.12.0 — usage analytics), `commander` (^9.4.0 — CLI framework), `inquirer` (^8.2.7 — interactive prompts), `keytar` (^7.7.0, optional — OS keychain for credential storage)
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| DEP 3 | M | **Where can you view request volume for each dependency this component depends on (internal and external)? Are there known capacity limits for them?**  |

**Answer**
<!--Start DEP 3-->
> - ALKS Core API request volume: https://one.newrelic.com/nr1-core/apm/overview/MTg1MDI0OHxBUE18QVBQTElDQVRJT058MTEzMjM2MjMy
> - npm download stats: https://www.npmjs.com/package/alks
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| DEP 4 | N/A | **What Cox Automotive workloads or components are built on top of this component?**  |

**Answer**
<!--Start DEP 4-->
> - alks-client (CI2355952) — the ALKS Desktop App wraps alks-cli
> - Any Cox Automotive pipeline or automation using the `alks` CLI to obtain AWS credentials
<!--End-->
&nbsp;
## **Recovery**

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| REC 1 | H | **What is your verified RTO and RPO?**  |

**Answer**
<!--Start REC 1-->
> - N/A — alks-cli is a stateless CLI. There is no stateful deployment to recover.
> - In the event of a broken release: previous versions remain available on npmjs.com and Artifactory indefinitely. Consumers can pin to the last known good version immediately (`npm install -g alks@<last-good-version>`).
> - RTO for a hotfix release: ~30 minutes (PR merge to published npm package).
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| REC 2 | M | **How are you performing backup and recovery?**  |

**Answer**
<!--Start REC 2-->
> - All published versions are retained on npmjs.com (cannot be unpublished after 72 hours per npm policy).
> - Cox Artifactory (`cai-npm-local`) will retain all directly published versions independently once direct publish is enabled.
> - Full source and git history is preserved in GHE.

- [x] Requirement Met
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| REC 3 | H | **How do you recover from a failed deployment? Can you automatically switch back to the previous build?**  |

**Answer**
<!--Start REC 3-->
> - Revert the failing commit in GHE and re-run the release pipeline. The previous npm version remains available to consumers at all times.
> - Consumers can immediately downgrade (`npm install -g alks@<last-good-version>`) while a fix is prepared.

- [x] Requirement Met
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| REC 4 | M | **How do you handle outages or poor performance of external systems?**  |

**Answer**
<!--Start REC 4-->
> - If npmjs.com is unavailable: consumers can install from Cox Artifactory (`cai-npm` virtual repo) — no code change required, just pointing npm to the Artifactory registry.
> - If ALKS Core API is unavailable: CLI commands fail with HTTP errors; the error is surfaced to the user. No retry logic in the CLI itself — operators should wait for ALKS Core recovery.
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| REC 5 | H | **Where is your disaster recovery plan and when was it last updated?**  |

**Answer**
<!--Start REC 5-->
> - N/A — stateless CLI; no disaster recovery plan required beyond standard GHE backup and npm version retention.
> - For ALKS workload DR, see ALKS Core PRR (CI0042503).
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| REC 6 | M | **When was the last disaster recovery test and where are the results?**  |

**Answer**
<!--Start REC 6-->
> - N/A — no hosted infrastructure.
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| REC 7 | N/A | **Do you have any single points of failure? If so, explain why and what is done to minimize the impact.**  |

**Answer**
<!--Start REC 7-->
> - npmjs.com namespace (`alks`) — the `@cox-automotive` npm org namespace is maintained to prevent supply chain hijacking; mitigated by Artifactory as a secondary distribution path.
> - ALKS Core API — if ALKS Core is unavailable, all CLI commands that call the API fail. This is an accepted dependency; ALKS Core has its own HA and alerting.
<!--End-->
&nbsp;
## **Operations**

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| OPS 1 | M | **What process is used to create change requests when pushing changes to production?**  |

**Answer**
<!--Start OPS 1-->
> - The current CI pipeline (build, test, npm publish) does not access AWS credentials — no ChangeMinder/ChangeAPI CRQ is required for the release pipeline in its current state.
> - Changes follow standard PR review process with required approvals before merge to master.
> - **Pending**: e2e tests (`make test CI_MODE=true`) use `ALKS_REFRESH_TOKEN` to open ALKS sessions — these tests are currently disabled. When re-enabled, the ChangeMinder pattern must be wired in (ALKS path, not ASA/VSA; CMDB CI `CI0002966`) before any test run that accesses AWS. See migration guide for implementation pattern.

- [x] Requirement Met
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| OPS 2 | H | **Provide a link to a view that shows the percentage of tagged AWS resources for this Component**  |

**Answer**
<!--Start OPS 2-->
> - N/A — alks-cli has no AWS resources.
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| OPS 3 | H | **What operational goals, non-functional claims, or SLOs are in place?**  |

**Answer**
<!--Start OPS 3-->
> - Semantic versioning (semver) enforced — no breaking changes in minor/patch releases.
> - All published npm versions are immutable and retained.
> - ~10 releases/year cadence; security vulnerabilities in dependencies addressed within standard sprint cycle; critical/high via expedited PR.

- [x] Requirement Met
<!--End-->
&nbsp;

| ID  |  Risk   | Question  |
| :----: | :--------: | :-------------- |
| OPS 4 | H | **What is your process and cadence for performing operational reviews?**  |

**Answer**
<!--Start OPS 4-->
> - Reviewed as part of the ALKS workload quarterly operational review.
> - Dependabot alerts reviewed on each sprint cycle.
<!--End-->
&nbsp;
