-
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
Bug fixes and enchancements in integration #30292
Bug fixes and enchancements in integration #30292
Conversation
Hello @cyble-dev, thank you for your resubmission. |
…tent into cyble-enhancements
"filters": [ | ||
[ | ||
{ | ||
"left": { | ||
"isContext": true, | ||
"value": { | ||
"simple": "eventtype" | ||
} | ||
}, | ||
"operator": "isEqualString", | ||
"right": { | ||
"isContext": false, | ||
"value": { | ||
"simple": "compromised_cards" | ||
} | ||
}, | ||
"type": "shortText" | ||
} | ||
] | ||
], |
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.
Hi @RosenbergYehuda,
As per your suggestion, I have updated all the files and fixed all the issues that were coming in ci/circleci: Run Validations
section
However, I am still getting this error
[2023-10-18 15:59:47,043] [ERROR] Packs/CybleEventsV2/Layouts/layoutscontainer-CybleEventsv2-Layout.json: [ST111] - The field "filters" in path 'quickView'-> 'sections'-> 'Compromised Card Details' was not defined in the scheme
[2023-10-18 15:59:47,043] [INFO] To fix the problem, try running `demisto-sdk format -i Packs/CybleEventsV2/Layouts/layoutscontainer-CybleEventsv2-Layout.json`
I was able to fix this too, but I had to remove the filter
key from the layout as highlighted:
If I remove this part, then the test is passing.
But I believe this filter is required to check if the coming incident is of this particular type: 'compromised_card'. So removing this filter does not make sense. But keeping it is not letting the test pass.
I tried suggestion given with the errors too, but not working.
I have exported this layout json from XSOAR instance.
Please suggest how we can go about this.
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.
Good job solving most of validation failures!
@melamedbn , can you please assist here?
Hi @melamedbn, |
Hi @cyble-dev, Everything looks great, just one fix needed: Best regards, |
Hi @melamedbn, |
The dates in the playbook inputs. |
] | ||
}, | ||
"group": "incident", | ||
"id": "CybleEventsv2-Layout", |
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.
Please remove the suffix -Layout
}, | ||
"group": "incident", | ||
"id": "CybleEventsv2-Layout", | ||
"name": "CybleEventsv2-Layout", |
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.
Please remove the suffix -Layout
simple: "2023-05-30T00:00:00+00:00" | ||
required: true | ||
description: "" | ||
playbookInputQuery: null | ||
playbookInputQuery: | ||
- key: end_date | ||
value: | ||
simple: "2023-05-31T00:00:00+00:00" |
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.
Hi @melamedbn,
Are you talking about these dates? If yes, then I am not sure what to put here?
Does this section have same inputs as in line 53 and 61 for start and end dates?
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.
Hi @melamedbn,
Can we please escalate this? Let me know the expected edit in above lines 124 & 130.
Hi @cyble-dev, There are still things that should be addressed as discussed in our meeting.
Best regards, |
Hi @melamedbn, |
Hi @melamedbn, |
Hi @edik24, @melamedbn & @RosenbergYehuda, Please let me know if you have any query. |
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.
Please remove the image as well
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.
Shall I keep the empty doc_files
folder or remove it as well?
Just saw that the current image isn't good. so let's keep the new image and delete the old one. |
oh, okay @melamedbn |
00e6480
into
demisto:contrib/cyble-dev_cyble-enhancements
* Bug fixes and enchancements in integration (#30292) * New PR with all the changes * Updated RN * Fixed issues in files' format * Fixed fieldnames * Fixed field's name in layout file * Fixed field's name in layout file * Fixed field's name in layout file * Removed -Layout suffix * Updated layout file * Formatted files * Fixed playbook * Updated RNs * Made changes in object files, uploading updated ones * Formatted files and bugs, test failure fixes * Updated RN, tests, playbook changes and formatting * Updated RN --------- Co-authored-by: Yehuda Rosenberg <90599084+RosenbergYehuda@users.noreply.github.com> * RN * mistake * RN --------- Co-authored-by: cyble-dev <101622497+cyble-dev@users.noreply.github.com> Co-authored-by: Yehuda Rosenberg <90599084+RosenbergYehuda@users.noreply.github.com> Co-authored-by: Yehuda <yrosenberg@paloaltonetworks.com>
* Bug fixes and enchancements in integration (#30292) * New PR with all the changes * Updated RN * Fixed issues in files' format * Fixed fieldnames * Fixed field's name in layout file * Fixed field's name in layout file * Fixed field's name in layout file * Removed -Layout suffix * Updated layout file * Formatted files * Fixed playbook * Updated RNs * Made changes in object files, uploading updated ones * Formatted files and bugs, test failure fixes * Updated RN, tests, playbook changes and formatting * Updated RN --------- Co-authored-by: Yehuda Rosenberg <90599084+RosenbergYehuda@users.noreply.github.com> * RN * mistake * RN --------- Co-authored-by: cyble-dev <101622497+cyble-dev@users.noreply.github.com> Co-authored-by: Yehuda Rosenberg <90599084+RosenbergYehuda@users.noreply.github.com> Co-authored-by: Yehuda <yrosenberg@paloaltonetworks.com>
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
Related Issues
fixes: link to the issue
Description
A few sentences describing the overall goals of the pull request's commits.
Must have