
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
caa-playbooks
Advanced tools
This repo provides a CLI for running through different scenarios in the form of a 'do-nothing' script. It provides a series of terminal based prompts that guide you through different scenarios. Over time, we can choose to evolve these scripts so that they actively mitigate the situation - i.e they may evolve to accept credentials and perform tasks at key points in the prompt sequence.
Install the package globally
npm install -location=global @ovotech/caa-playbooks
Then you should have the playbooks
command available on your command line
Just fire the commands above, and it should guide you through the rest. The first prompt picks the scenario you want assistance with. Under the hood, this loads a subsequent set of prompts which are configured in the ./src/scenarios
directory.
Future scenarios can be added to this and included in the options
The prompts in this repo are created with Inquirer: https://www.npmjs.com/package/inquirer Scenarios are created by creating an Inquirer prompt with arrays of Question objects. For linear sequences, there are a couple of utility functions to enforce the sequence, and to restart the prompt if any step fails.
forceSequence
- this ensures that the next question in the sequence is only shown if the previous step was confirmed. It requires each question to be named thus: stepX
- i.e step1
, step2
retryIfAnyFalse
- will restart the prompt loop from the beginning.
dlq
You can build the package using the npm run watch
or npm run build
command.
You can then test it locally by running npm link
in the project directory
FAQs
command line tools for caa
The npm package caa-playbooks receives a total of 0 weekly downloads. As such, caa-playbooks popularity was classified as not popular.
We found that caa-playbooks demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.