splunk / security_content

Splunk Security Content
https://research.splunk.com
Apache License 2.0
1.3k stars 362 forks source link

Strict yml fields #3202

Open pyth0n1c opened 5 days ago

pyth0n1c commented 5 days ago

Update content to begin enforcing STRICT YML fields in contentctl. This means that we will throw errors when fields that are not defined in contentctl Pydantic Objects are included in YML files.

This reduces the chance that optional field names will be typo'd and cleans up a large number of YML files.

Note that the corresponding contentctl PR is here: https://github.com/splunk/contentctl/pull/325