-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Update Feed - generate_feed_from_raw_iocs.py #13
Comments
up-vote! Further details: If I create a raw feed from my own flat file of IP addresses, for example: I would run the following command from the terminal to convert my flat file in to a json formatted feed file for CbR. python /etc/cb/feeds/cbfeeds-master/example/raw/generate_feed_from_raw_iocs.py -n CbFeed -d "Carbon Black Custom Feed" -u Now I would login to the UI, setup a feed, and point it to the path of the new json formatted feed file. But... What if we found out about some new campaign or "actor" and I want to associate the new IPs with this new campaign to that feed. I would like to add this additional report to the feed that we already have. The only way I know how to add additional IOCs or in this case IP addresses to the feed, is by adding them to the original list or flat file that we used above and running the same command again. But this will only replace the original report with a new one. All that we need is another Python script that appends another report to the existing feed. When I look at other feeds in their json format, I notice that they have multiple reports in them. Here is some of what is included in the ThreatConnect.json feed: { |
This is good feedback. We typically put each IOC in their own threat report because that is usually what is asked, but maybe allowing an option to consolidate all IOCs into one threat report is needed. |
Actually, the current Python code does consolidate all IOCs in to one
threat report. I'm looking to have the ability to put IOCs in to different
threat reports, within the same feed.
…On Fri, Mar 8, 2019 at 2:15 PM Jason McFarland ***@***.***> wrote:
This is good feedback. We typically put each IOC in their own threat
report because that is usually what is asked, but maybe allowing an option
to consolidate all IOCs into one threat report is needed.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASdNYjSeEI2X6Emr0DqnWxH6tx7xAe-8ks5vUrbRgaJpZM4JrBCT>
.
--
Tim Duckworth
|
I just read back through bentedesco's comment. Personally, I'm not looking to concatenate reports, as he requested. I just want to have the ability to add one or more IOCs to a threat report and have that report added on to an existing feed. I have a "raw" feed setup locally but if I want to add to it, I have to recreate the feed in order to keep all previous IOCs as well as the new ones that I'm adding. I should be able to just add the additional IOCs as a new report. |
cbfeeds/example/raw/generate_feed_from_raw_iocs.py
Instead of only being able to create a new feed with a single report, it would be nice if we also had the functionality to update an existing feed and concatenate additional reports to the bottom.
The text was updated successfully, but these errors were encountered: