Skip to content

Conversation

P4T12ICK
Copy link
Contributor

Bring together the latest improvements into one branch
#57
#34

pyth0n1c and others added 30 commits July 28, 2023 13:29
of having it be a dictionary.  This allows
for better validation and is more
Pythonic.  Also, validate that
only valid observables are used in
the message field of a detection and that
every observable declared is used in
the message field.
search as well for the
notables that we have called out.
A more thorough check will also
be done after the search runs
in contentctl test, but this static
check will likely catch most
simple issues.
when fields are missing after
running a search with real
data on a splunk instance.
This helps determine to
and even higher degree
if notables were declared
correctly and gives a high
degree of certainty that they
will be generated correctly
in ES.
missing a notable field in the
underlying search
by removing un-needed
libraries
and message fields - these should be allowed
to be independent.  Still require that all
fields called out in the message or in the
observable are present in the search. This
commit adds in the static checks.
for macros and lookups.  Now, if we
do not find a macro or a lookup
instead of just ignoring it we will
throw an error.
detections which have been affected by updated
macros and/or lookups, to include lookup CSV
and/or YML files.
by removing quotes.
a number of areas centered around the
contentctl_test.yml configuration file
and underlying object.  This will support
better for testing against multiple
targets.
Don't override default test options
unless CLI arguments are actually
passed.
…l support for passing the address and credentials of servers on the command line.
or environment variable environments!
WORKS, but only produces
a warning message. It
is presently disabled due to
a large amount of nonconformant
content.
process when an appinspect
throws any kind of
errors/warnings/failures/
manual checks.  All of these
can prevent automatic approval
in Splunkbase or deployment of
an app.
Patrick and others added 14 commits September 15, 2023 10:38
mode all does not require a
git repo for testing. Make sure
that when ES is installed, the
proper roles are created.
version_control_config for testing
using --mode selected.
This helps track progress in
CI/CD testing.
and deprecated detections
for non default branch works.
Copy link
Contributor

@pyth0n1c pyth0n1c left a comment

Choose a reason for hiding this comment

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

There have been a huge number of changes that have been tested extensively with lots of internal feedback. Let's merge all these changes - we may need some additional PRs for cleanup.

@pyth0n1c pyth0n1c merged commit 5752f49 into main Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants