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
path-to-document: "https://github.com/splunk/addonfactory-test-releaseci/blob/main/CLA.md"# e.g. a CLA or a DCO document
23
23
# branch should not be protected
24
-
branch: "master"
24
+
branch: "main"
25
25
allowlist: dependabot
26
26
#below are the optional inputs - If the optional inputs are not given, then default values will be taken
27
27
#remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)
Copy file name to clipboardExpand all lines: docs/cim_tests.rst
+4-4Lines changed: 4 additions & 4 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**
Copy file name to clipboardExpand all lines: docs/how_to_use.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -279,9 +279,9 @@ Extending pytest-splunk-addon
279
279
280
280
How can this be achieved :
281
281
282
-
- Make json representation of the data models, which satisfies this `DataModelSchema <https://github.com/splunk/pytest-splunk-addon/blob/master/pytest_splunk_addon/standard_lib/cim_tests/DatamodelSchema.json>`_.
282
+
- Make json representation of the data models, which satisfies this `DataModelSchema <https://github.com/splunk/pytest-splunk-addon/blob/main/pytest_splunk_addon/standard_lib/cim_tests/DatamodelSchema.json>`_.
283
283
- Provide the path to the directory having all the data models by adding ``--splunk_dm_path path_to_dir`` to the pytest command
284
-
- The test cases will now be generated for the data models provided to the plugin and not for the `default data models <https://github.com/splunk/pytest-splunk-addon/tree/master/pytest_splunk_addon/standard_lib/data_models>`_.
284
+
- The test cases will now be generated for the data models provided to the plugin and not for the `default data models <https://github.com/splunk/pytest-splunk-addon/tree/main/pytest_splunk_addon/standard_lib/data_models>`_.
0 commit comments