You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,13 @@ If you are already familiar with contentctl, the following common commands may b
10
10
|-----------|---------|
11
11
| Create a repository |`contentctl init`|
12
12
| Validate Your Content |`contentctl validate`|
13
-
| Validate Your Content, performing MITRE Enrichments |`contentctl validate –-enrichments`|
13
+
| Validate Your Content, performing MITRE Enrichments |`contentctl validate --enrichments`|
14
14
| Build Your App |`contentctl build`|
15
-
| Test All the content in your app, pausing so that you can debug a search if it fails |`contentctl test –-post-test-behavior pause_on_failure mode:all`|
16
-
| Test All the content in your app, pausing after every detection to allow debugging |`contentctl test –-post-test-behavior always_pause mode:all`|
17
-
| Test 1 or more specified detections. If you are testing more than one detection, the paths are space-separated. You may also use shell-expanded regexes |`contentctl test –-post-test-behavior always_pause mode:selected --mode.files detections/endpoint/7zip_commandline_to_smb_share_path.yml detections/cloud/aws_multi_factor_authentication_disabled.yml detections/application/okta*`|
18
-
| Diff your current branch with a target_branch and test detections that have been updated. Your current branch **must be DIFFERENT** than the target_branch |`contentctl test –-post-test-behavior always_pause mode:changes –-mode.target_branch develop`|
19
-
| Perform Integration Testing of all content. Note that Enterprise Security MUST be listed as an app in your contentctl.yml folder, otherwise all tests will subsequently fail |`contentctl test –-enable-integration-testing --post-test-behavior never_pause mode:all`|
15
+
| Test All the content in your app, pausing so that you can debug a search if it fails |`contentctl test --post-test-behavior pause_on_failure mode:all`|
16
+
| Test All the content in your app, pausing after every detection to allow debugging |`contentctl test --post-test-behavior always_pause mode:all`|
17
+
| Test 1 or more specified detections. If you are testing more than one detection, the paths are space-separated. You may also use shell-expanded regexes |`contentctl test --post-test-behavior always_pause mode:selected --mode.files detections/endpoint/7zip_commandline_to_smb_share_path.yml detections/cloud/aws_multi_factor_authentication_disabled.yml detections/application/okta*`|
18
+
| Diff your current branch with a target_branch and test detections that have been updated. Your current branch **must be DIFFERENT** than the target_branch |`contentctl test --post-test-behavior always_pause mode:changes --mode.target_branch develop`|
19
+
| Perform Integration Testing of all content. Note that Enterprise Security MUST be listed as an app in your contentctl.yml folder, otherwise all tests will subsequently fail |`contentctl test --enable-integration-testing --post-test-behavior never_pause mode:all`|
0 commit comments