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: docs/cim_tests.rst
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Overview
7
7
The CIM tests are written with a purpose of testing the compatibility of the add-on with CIM Data Models (Based on Splunk_SA_CIM 4.15.0).
8
8
An add-on is said to be CIM compatible if it fulfils the following two criteria:
9
9
10
-
1. The add-on extracts all the fields with valid values, which are marked as required by the `Data Model Definitions <https://github.com/splunk/pytest-splunk-addon/tree/master/pytest_splunk_addon/standard_lib/data_models>`_.
10
+
1. The add-on extracts all the fields with valid values, which are marked as required by the `Data Model Definitions <https://github.com/splunk/pytest-splunk-addon/tree/main/pytest_splunk_addon/standard_lib/data_models>`_.
11
11
2. Any event for the add-on is not mapped with more than one data model.
12
12
13
13
---------------------
@@ -34,7 +34,7 @@ Test Scenarios
34
34
**Workflow:**
35
35
36
36
* Plugin parses tags.conf to get a list of tags for each eventtype.
37
-
* Plugin parses all the `supported datamodels <https://github.com/splunk/pytest-splunk-addon/tree/master/pytest_splunk_addon/standard_lib/data_models>`_.
37
+
* Plugin parses all the `supported datamodels <https://github.com/splunk/pytest-splunk-addon/tree/main/pytest_splunk_addon/standard_lib/data_models>`_.
38
38
* Then it gets a list of the datasets mapped with an eventtype.
39
39
* Generates test case for each eventtype.
40
40
@@ -80,11 +80,11 @@ Test Scenarios
80
80
81
81
**Workflow:**
82
82
83
-
* Plugin collects the list of not_allowed_in_search fields from mapped datasets and `CommonFields.json <https://github.com/splunk/pytest-splunk-addon/blob/master/pytest_splunk_addon/standard_lib/cim_tests/CommonFields.json>`_.
83
+
* Plugin collects the list of not_allowed_in_search fields from mapped datasets and `CommonFields.json <https://github.com/splunk/pytest-splunk-addon/blob/main/pytest_splunk_addon/standard_lib/cim_tests/CommonFields.json>`_.
84
84
* Using search query the test case verifies if not_allowed_in_search fields are populated in search or not.
85
85
86
86
.. note::
87
-
`CommonFields.json <https://github.com/splunk/pytest-splunk-addon/blob/master/pytest_splunk_addon/standard_lib/cim_tests/CommonFields.json>`_ contains fields which are automatically provided by asset and identity correlation features of applications like Splunk Enterprise Security.
87
+
`CommonFields.json <https://github.com/splunk/pytest-splunk-addon/blob/main/pytest_splunk_addon/standard_lib/cim_tests/CommonFields.json>`_ contains fields which are automatically provided by asset and identity correlation features of applications like Splunk Enterprise Security.
88
88
89
89
**4. Testcase for all not_allowed_in_props fields**
90
90
@@ -118,7 +118,6 @@ In case of test case failure check if:
118
118
119
119
- The add-on to be tested is installed on the Splunk instance.
120
120
- Data is generated sufficiently for the addon being tested.
121
-
- Splunk_SA_CIM is installed on the Splunk instance.
122
121
- Splunk licence has not expired.
123
122
- Splunk instance is up and running.
124
123
- Splunk instance's management port is accessible from the test machine.
0 commit comments