Changed
- `securitydata` renamed to `security-data`.
- From `security-data` related subcommands (such as `print`):
- `--c42username` flag renamed to `--c42-username`.
- `--filename` flag renamed to `--file-name`.
- `--filepath` flag renamed to `--file-path`.
- `--processOwner` flag renamed to `--process-owner`.
- `-b|--begin` and `-e|--end` arguments now accept shorthand date-range strings for days, hours, and minute intervals going back from the current time (e.g. `30d`, `24h`, `15m`).
- Default profile validation logic added to prevent confusing error states.
Added
- `code42 profile update` command.
- `code42 profile create` command.
- `code42 profile delete` command.
- `code42 profile delete-all` command.
- `code42 high-risk-employee` commands:
- `bulk` with subcommands:
- `add`: that takes a csv file of users.
- `generate-template`: that creates the file template. And parameters:
- `cmd`: with options `add` and `remove`.
- `path`
- `remove`: that takes a list of users in a file.
- `add` that takes parameters: `--username`, `--cloud-alias`, `--risk-factor`, and `--notes`.
- `remove` that takes a username.
- `add-risk-tags` that takes a username and risk tags.
- `remove-risk-tags` that takes a username and risk tags.
- `code42 departing-employee` commands:
- `bulk` with subcommands:
- `add`: that takes a csv file of users.
- `generate-template`: that creates the file template. And parameters:
- `cmd`: with options `add` and `remove`.
- `path`
- `remove`: that takes a list of users in a file.
- `add` that takes parameters: `--username`, `--cloud-alias`, `--departure-date`, and `--notes`.
- `remove` that takes a username.
Removed
- `code42 profile set` command. Use `code42 profile create` instead.