Skip to content

Commit a4177fe

Browse files
authored
chore/remove-ecm-apis (#405)
* chore/remove-ecm-apis * fix docs
1 parent 50aae11 commit a4177fe

22 files changed

+13
-1605
lines changed

.github/workflows/build.yml

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ jobs:
4343
127.0.0.1 core
4444
127.0.0.1 alerts
4545
127.0.0.1 alert-rules
46-
127.0.0.1 detection-lists
4746
127.0.0.1 audit-log
4847
127.0.0.1 file-events
4948
127.0.0.1 storage

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
The intended audience of this file is for py42 consumers -- as such, changes that don't affect
99
how a consumer would use the library (e.g. adding unit tests, updating documentation, etc) are not captured here.
1010

11+
## 1.17.0 - 2023-08-04
12+
13+
### Removed
14+
15+
- Removed the following command groups following deprecation:
16+
- `detection-lists`
17+
- `departing-employee`
18+
- `high-risk-employee`
19+
- APIs were replaced by the `watchlists` commands
20+
1121
## 1.16.6 - 2023-04-12
1222

1323
### Fixed

README.md

+1-34
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ Use the `code42` command to interact with your Code42 environment.
1111
* `code42 security-data` is a CLI tool for extracting AED events.
1212
Additionally, you can choose to only get events that Code42 previously did not observe since you last recorded a
1313
checkpoint (provided you do not change your query).
14-
* `code42 high-risk-employee` is a collection of tools for managing the high risk employee detection list. Similarly,
15-
there is `code42 departing-employee`.
14+
* `code42 watchlists` is a collection of tools for managing your employee watchlists.
1615

1716
## Requirements
1817

@@ -212,38 +211,6 @@ To get the results of a saved search, use the `--saved-search` option with your
212211
code42 security-data search --saved-search <ID>
213212
```
214213

215-
## Detection Lists
216-
217-
You can both add and remove employees from detection lists using the CLI. This example uses `high-risk-employee`.
218-
219-
```bash
220-
code42 high-risk-employee add [email protected] --notes "These are notes"
221-
code42 high-risk-employee remove [email protected]
222-
```
223-
224-
Detection lists include a `bulk` command. To add employees to a list, you can pass in a csv file. First, generate the
225-
csv file for the desired command by executing the `generate-template` command:
226-
227-
```bash
228-
code42 high-risk-employee bulk generate-template add
229-
```
230-
231-
Notice that `generate-template` takes a `cmd` parameter for determining what type of template to generate. In the
232-
example above, we give it the value `add` to generate a file for bulk adding users to the high risk employee list.
233-
234-
Next, fill out the csv file with all the users and then pass it in as a parameter to `bulk add`:
235-
236-
```bash
237-
code42 high-risk-employee bulk add users_to_add.csv
238-
```
239-
240-
Note that for `bulk remove`, the file only has to be an end-line delimited list of users with one line per user.
241-
242-
## Known Issues
243-
244-
In `security-data`, only the first 10,000 of each set of events containing the exact same insertion timestamp is
245-
reported.
246-
247214
## Troubleshooting
248215

249216
If you keep getting prompted for your password, try resetting with `code42 profile reset-pw`.

docs/commands.md

-4
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
Trusted Activities <commands/trustedactivities.rst>
1818
Users <commands/users.rst>
1919
Watchlists <commands/watchlists.rst>
20-
(DEPRECATED) Departing Employee <commands/departingemployee.rst>
21-
(DEPRECATED) High Risk Employee <commands/highriskemployee.rst>
2220
```
2321

2422
* [Alert Rules](commands/alertrules.rst)
@@ -32,5 +30,3 @@
3230
* [Trusted Activities](commands/trustedactivities.rst)
3331
* [Users](commands/users.rst)
3432
* [Watchlists](commands/watchlists.rst)
35-
* [(DEPRECATED) Departing Employee](commands/departingemployee.rst)
36-
* [(DEPRECATED) High Risk Employee](commands/highriskemployee.rst)

docs/commands/departingemployee.rst

-3
This file was deleted.

docs/commands/highriskemployee.rst

-3
This file was deleted.

docs/guides.md

-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
Add and manage cases <userguides/cases.md>
2020
Perform bulk actions <userguides/bulkcommands.md>
2121
Manage watchlist members <userguides/watchlists.md>
22-
(DEPRECATED) Manage detection list users <userguides/detectionlists.md>
2322
```
2423

2524
* [Get started with the Code42 command-line interface (CLI)](userguides/gettingstarted.md)
@@ -35,4 +34,3 @@
3534
* [Add and manage cases](userguides/cases.md)
3635
* [Perform bulk actions](userguides/bulkcommands.md)
3736
* [Manage watchlist members](userguides/watchlists.md)
38-
* [(DEPRECATED) Manage detection list users](userguides/detectionlists.md)

docs/userguides/detectionlists.md

-62
This file was deleted.

src/code42cli/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.16.6"
1+
__version__ = "1.17.0"

src/code42cli/cmds/departing_employee.py

-183
This file was deleted.

0 commit comments

Comments
 (0)