The OpenZeppelin Defender provides a security operations (SecOps) platform for Ethereum with built-in best practices. Development teams implement Defender to ship faster and minimize security risks.
This library provides methods related to actions. See Examples for usage.
In addition to the SDK APIs for managing actions, we provide a CLI tool for running, updating (code) and tail action executions logs.
- Install actions package globally:
npm install -g @openzeppelin/defender-sdk-action-client
- Export environment variables:
# Defender API key and secret
$ export API_KEY=
$ export API_SECRET=
$ defender-action execute-run $ACTION_ID
$ defender-action update-code $ACTION_ID $PATH
$ defender-action tail-runs $ACTION_ID