Skip to content

Conversation

pyth0n1c
Copy link
Contributor

@pyth0n1c pyth0n1c commented Jul 2, 2024

Prep for release v4.2
This branch has been remapped to 4.3. 4.4.0

4.2 will contained only the release version of the data_source implementation

linuxdaemon and others added 15 commits August 14, 2023 12:05
This means a failed container will no longer hang the test command
This is consistent with the validation check
that allows no tests if status=experimental
Updated validator for "tests" so that it always runs, even if no tests are provided.  without adding always=True, it fails to catch missing tests.
Also, ensure that we run against the .value of the enumeration, 
not the enum object itself. This is required since The Pydantic config use_enum_values = True
Allow absent tests for experimental detections
Update new content generator with new formats
Handle stopped containers in testing
templates. Write the proper name of
the app into the request.ui_dispatch_app
values of savedsearches
detections, baselines, and investigations.
Other jinja2 changes are to cope with
passing in the entire app object, not
just the APP_NAME (which was actually
the app.label field).
dashboards as first-class
SecurityContentObjects.
ui_dispatch_app as
SplunkEnterpriseSecuritySuite
@pyth0n1c pyth0n1c added the Draft label Jul 2, 2024
pyth0n1c and others added 14 commits July 2, 2024 13:02
Resolve some merge conflicts.
that the description and name fields, if
present in the YML, are identical to those
which MUST be included in ther JSON
object.
Note that some of these
fixes have already been made
separately.
es is not installed and we are
not doing an es integration test
it is now calculated using the risk score
Add fields as requested

Internal testing has confirmed that these changes are correct.
incorrectly.  Change from throttling to
alert_suppression since that is the name used
in splunk+documentation. Update template to
output the field if it is defined.
Copy link
Contributor

@ljstella ljstella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed w/ @pyth0n1c, comments inline + todo list created

self.get_conn().roles.post(
self.infrastructure.splunk_app_username,
imported_roles=imported_roles + enterprise_security_roles,
imported_roles=roles,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ljstella ljstella changed the title contentctl v4.2.0 contentctl v4.~2~4.0 Sep 19, 2024
@ljstella ljstella changed the title contentctl v4.~2~4.0 contentctl v4.4.0 Sep 19, 2024
of Detections, Baselines,
and Investigations/Response Tasks
Properly written to the conf files.
@pyth0n1c
Copy link
Contributor Author

With the latest pushes, I have manually DIFFED the conf files and the API JSON files and believe they are correct.
Diffing some of the API JSON files is challenging because some of the fields come out in a different order. In the future, we should consider applying SORTS to these fields so that their order is deterministic.

fix bug with informational searches
having wrong output (info)
written to savedsearches.conf
@pyth0n1c pyth0n1c requested a review from ljstella September 25, 2024 23:49
ljstella
ljstella previously approved these changes Sep 26, 2024
Copy link
Contributor

@ljstella ljstella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

:shipit:

Copy link
Contributor

@ljstella ljstella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still LGTM

@pyth0n1c pyth0n1c removed the Draft label Sep 26, 2024
@pyth0n1c pyth0n1c merged commit a17256b into main Sep 26, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants