Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
himynamesdave committed Dec 16, 2024
1 parent 93d42af commit 5969dd6
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ IMPORTANT: if the time between `--last_modified_earliest` and `--last_modified_l

The script will also filter the data created using any values entered in the `.env` file on each run.

e.g. get all cves for June 2024 (and place into daily bundles)
e.g. get all cves for the first week of December 2024 (and place into daily bundles)

```shell
python3 cve2stix.py \
--last_modified_earliest 2024-11-01T00:00:00 \
--last_modified_latest 2024-11-30T23:59:59 \
--last_modified_earliest 2024-12-01T00:00:00 \
--last_modified_latest 2024-12-07T23:59:59 \
--file_time_range 1d
```

Expand All @@ -116,7 +116,12 @@ You can read more about this at https://www.nist.gov/itl/nvd#november1524.

This is problematic for us, as will result in huge bundles using the normal `modDate` approach.

As such, we have build in the `--all_time` flag to handle this data more graciously. All time mode uses `pubDate` instead of `modDate` to bundle the files. This will start the run from 1988 (first CVE `pubDate` though to day script is executed).
As such, we have build in the `--all_time` flag to handle this data more graciously. All time mode uses `pubDate` instead of `modDate` to bundle the files. This will start the run from 1988 (first CVE `pubDate` though to day script is executed). e.g.

```shell
python3 cve2stix.py \
--all_time
```

## Useful supporting tools

Expand Down

0 comments on commit 5969dd6

Please sign in to comment.