-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Feedly/fetch reports as incidents #37229
base: contrib/Mathieu4141_feedly/fetch-reports-as-incidents
Are you sure you want to change the base?
Feedly/fetch reports as incidents #37229
Conversation
Thank you for your contribution. Your generosity and caring are unrivaled! Make sure to register your contribution by filling the Contribution Registration form, so our content wizard @YairGlik will know the proposed changes are ready to be reviewed. |
Hi @Mathieu4141, thanks for contributing to the XSOAR marketplace. To receive credit for your generous contribution please follow this link. |
Hi @Mathieu4141, |
Sorry for the late reply @YairGlik |
It seems there are issues with several files. Please run |
How does it work? I get |
for example: |
please add file |
@Mathieu4141 for me to review I would need all files to be formatted (playbooks included). Feel free to ping me once you're able to format them and I'll take a look! |
Is it good now @idovandijk ? Also why are the exports invalid in the first place? I downloaded from the XSOAR instance, I'd expect them to be formatted correctly? |
@Mathieu4141 I can see why this is confusing. Exported files are valid, but they're not release-ready. Using the SDK to format the files ensures they meet the Cortex standard required to work optimally and correctly in the Marketplace. I'll be looking into your updates and let you know if anything else is needed, thanks again |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job, happy to see these new additions for Feedly!
My comments are numbered below for easy reference
Playbook - Feedly threats
- Please add a data validation task - verify that the MITRE IDs exist in ${incident} before searching it. Same for the rest of the indicators searched. Imagine if one of them ends up empty and we end up querying all indicators and associating all of them to the incident ;)
- Please add a task that verifies that the search yielded any results, before associating to the incident.
Incident Fields
- Please set the incident fields to be associated with the Feedly Report incident type instead of being Associated To All.
- Do you need the fields to be searchable in XSOAR/XSIAM? For example is someone going to search incidents by the Feedly URL field? If not, please set
unsearchable
totrue
.
Mapper
- Once your fields are associated to the Feedly Report incident type, I suggest modifying the mapper to have mapping for the Feedly Report type (not under Common Mapping)
![image](https://private-user-images.githubusercontent.com/43602124/404672674-b45e3174-87c2-44cc-9887-1656c1bf2252.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MzExMTIsIm5iZiI6MTczOTUzMDgxMiwicGF0aCI6Ii80MzYwMjEyNC80MDQ2NzI2NzQtYjQ1ZTMxNzQtODdjMi00NGNjLTk4ODctMTY1NmMxYmYyMjUyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDExMDAxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgwOTczZDljMTE4NmRkYjQ5ZWE0MzE0MTRlMTEzMjc5MzZiMjU3YWVmMjYxY2NhOTdmZTQ3M2U4NTZkMmM2MDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4SGxXP2SvfdZjH_5Uo1sRIAtd4_D4hBQmv6EXtCorCU)
![image](https://private-user-images.githubusercontent.com/43602124/404672693-c24dc415-7870-441a-9dbe-b96303a6116b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MzExMTIsIm5iZiI6MTczOTUzMDgxMiwicGF0aCI6Ii80MzYwMjEyNC80MDQ2NzI2OTMtYzI0ZGM0MTUtNzg3MC00NDFhLTlkYmUtYjk2MzAzYTYxMTZiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDExMDAxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJjMmQ3NjJjZmI5NmJkNzdhOTlkY2JmODg4NDNmMzYwMjA1ZGQ4MDllZDc2NjFlNDM0ZDQ2YWFkOTIxYzViNjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.kNQ2KSSom0SegTvss1NPkYe0etK7fJ1I7ZHSG4qioyU)
This will keep things more tidy as we currently only intend to map fields related to Feedly Reports.
As always, if there's any question or issue, don't hesitate to reach out to us.
When you're done making changes, let me know and I'll gladly approve from my side.
Thanks @idovandijk for the explanation and the detailed review! 1 & 2: I'm not sure how to do any of the 2 modifications in the playbook. Which tasks / changes do you suggest to do that? 3, 4, & 5: done :) |
What I'm suggesting is adding conditional tasks that check that the context you use in your tasks exists prior to executing it. |
…ors are in the article
@idovandijk should be good :) |
Perfect, that's exactly what I meant. Don't forget to update the playbook image ;) |
Great! :D What do you mean by the playbook image? |
@Mathieu4141 under Packs/your_pack/doc_files |
I added the image in the folder :) |
Contributing to Cortex XSOAR Content
Make sure to register your contribution by filling the contribution registration form
The Pull Request will be reviewed only after the contribution registration form is filled.
Status
Description