@openzeppelin/defender-sdk-action-client
TypeScript icon, indicating that this package has built-in type declarations

2.5.0 • Public • Published

Defender SDK Actions Client

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.

Defender Actions CLI tool

In addition to the SDK APIs for managing actions, we provide a CLI tool for running, updating (code) and tail action executions logs.

Setup

  1. Install actions package globally:

npm install -g @openzeppelin/defender-sdk-action-client

  1. Export environment variables:
# Defender API key and secret
$ export API_KEY=
$ export API_SECRET=

Usage

Run action

$ defender-action execute-run $ACTION_ID

Update action code

$ defender-action update-code $ACTION_ID $PATH

Tail action run logs

$ defender-action tail-runs $ACTION_ID

Readme

Keywords

none

Package Sidebar

Install

npm i @openzeppelin/defender-sdk-action-client

Weekly Downloads

1,871

Version

2.5.0

License

MIT

Unpacked Size

83.2 kB

Total Files

31

Last publish

Collaborators

  • frangio
  • namis
  • zeljkox
  • dylkil
  • mcarlomagno
  • collins-oz
  • tirumerla
  • bjmrq