Commit Graph

30 Commits

Author SHA1 Message Date
P4T12ICK 9dac698c46 solve merge conflicts 2022-08-01 11:39:02 +02:00
tccontre b21d754be3 attack_data_helper 2022-07-20 10:54:59 +02:00
pyth0n1c 1cdfb1916f Fixed paths in content generation to use the input path instead of hardcoded relative paths. 2022-07-15 08:02:17 -07:00
pyth0n1c a74ebee88f Added the --skip_enrichment option to the
contentctl tool.  This can save a huge amount
of time when generating an app.  Also
added a progress meter when the documentation
is being generated. Finally, correctly initialized
the default values of some class member fields
in order to get all the contentctl steps working.
2022-06-22 13:44:17 -07:00
pyth0n1c bf27f47d1f Moved from using a pickled dictionary, loaded and written manually, to shelve.Shelf for Reference cache. The interface is nearly identical, but it results in much cleaner code. We will likely do the same in the next commit for CVE cache. 2022-05-11 12:00:47 -07:00
pyth0n1c e7580faf5f Added caching of the results of link-verification to the --cached_and_offline argument. This means that if a link returns successfully and you run the tool again, the link won't be checked again. However, this means that if that cache sticks around for a long time, the link may actually stop returning but we won't continue checking it. Still, this makes it significantly easier to quickly find broken links, fix the broken links, and then run the tool again in a short period of time, only re-checking the broken links that have been fixed. This makes repairing and checking broken links a must faster workflow. 2022-05-10 17:08:24 -07:00
pyth0n1c cdb66ae143 More optimizations in content_ctl. No longer generate ba_factory or factory if they are not needed - only generate the one or ones that are required. Also, provide status printouts for the AttackEnrichment so that the user can monitor progress and be sure something is happening. 2022-05-10 15:49:45 -07:00
pyth0n1c c1ab5a491b Added check_references passthrough
from contentctl to the builders.
2022-05-04 17:09:36 -07:00
pyth0n1c b60db04b71 Added link validator code to baselines, detections,
investigations, and stories. Still some testing to
be done.
2022-05-04 16:50:18 -07:00
pyth0n1c 03035d1c78 Enhancement to use threaded detection construction, which really speeds up verification of URLS. Also, got the cache working and the force cache argument passed all the way through to the detection builder. Please note that this will take much longer to run the first time, because the cache has not been populated. Subsequent runs will be slower. If data exists in this cache, it is NOT updated and will become stale if the web resource is updated. This is only suitable for development purposes and offline environments. 2022-05-02 12:59:28 -07:00
pyth0n1c 31149c3e61 More changes to defaults and argument parsing to support offline and cached mode. 2022-04-29 17:04:57 -07:00
pyth0n1c f81a103b01 Added the majority of support for offline and cached mode for contentctl. This means that developers can much more rapidly test new builds without waiting on slow API end points \(taking build and validate job from upwards of 10 minutes to a few seconds\). It also means that the tool can be used in completely offline, secure environments that do not mirror the required HTTP endpoints. 2022-04-29 16:53:20 -07:00
pyth0n1c 3c5a342479 Better support in contentctl and content_changer for updating yml files. The help statement for content_changer in content_ctl now dynamically lists the transforms that can be performed on detections. In addition, a redundant transfrom was removed. 2022-04-29 15:43:01 -07:00
P4T12ICK afc1860132 Add Mitre Attack Csv generation 2022-03-29 12:14:20 +02:00
P4T12ICK 510a196a0d Improve validation 2022-03-21 09:27:53 +01:00
P4T12ICK 6f0ee68913 Refactored security content 2022-03-09 14:43:09 +01:00
P4T12ICK 55848f9277 fixed bug in handling imports 2021-11-17 13:47:13 +01:00
d1vious bfc25f0cec adding skeleton for ssa package generation 2021-10-30 21:31:04 -04:00
divious1 59ffaf8c25 adding deprecation to generate 2021-06-16 10:31:30 -04:00
divious1 3dfb0c502a removed mustang and replaced with saaws 2021-04-08 13:58:41 -04:00
divious1 61ec12a4ce correcting default path now that we have our own build 2021-04-08 11:48:06 -04:00
mvelazco 39f22f2b1a update variable name
replacing 'category' for 'product'
2021-03-30 17:14:58 -04:00
mvelazco b7f69fd895 updating contentctl.py
support for the new category variable that allows to create a MUSTAN specific package
2021-03-30 11:07:45 -04:00
P4T12ICK 721afd048b improvements contentctl 2021-02-25 10:06:52 +01:00
divious1 f5fe07171f updated given feedback from the team 2021-02-19 22:59:09 -05:00
divious1 8a73c3237b first set of feedback 2021-02-18 21:32:59 -05:00
divious1 b81bb8c53d fixed minor bug 2021-02-18 10:29:19 -05:00
divious1 8d7784ea37 added example for story 2021-02-16 22:56:36 -05:00
divious1 b82c5bcc9b added skeleton for wizar, also example creation for detections 2021-02-15 22:25:18 -05:00
divious1 702a0bc932 skeleton 2021-02-15 08:25:52 -05:00