mirror of
https://github.com/KelvinTegelaar/CIPP.git
synced 2026-04-25 08:16:01 +03:00
[PR #976] [MERGED] Security incidents #3080
Labels
No labels
API
Feature
NotABug
NotABug
Planned
Sponsor Priority
Sponsor Priority
bug
documentation
duplicate
enhancement
needs more info
no-activity
no-priority
not-assigned
pull-request
react-conversion
react-conversion
roadmap
security
stale
unconfirmed-by-user
unconfirmed-by-user
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/CIPP#3080
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/KelvinTegelaar/CIPP/pull/976
Author: @knightian
Created: 6/19/2022
Status: ✅ Merged
Merged: 6/19/2022
Merged by: @KelvinTegelaar
Base:
dev← Head:security_incidents📝 Commits (6)
63119e9Adding in security stuff and tidying UI a bit WIP not ready for merge4510e78not ready for merge yet043d19bMerge remote-tracking branch 'upstream/dev' into security_incidents3201e31ready for mergebdaa98fa quick fix to allow us to completely unset a classification & determination if we want tof499401remove unused icon causing bigger problems then reasonably required..... this is why Elom Musk warned us about AI📊 Changes
12 files changed (+604 additions, -58 deletions)
View changed files
📝
src/_nav.js(+43 -21)➕
src/components/tables/CellTip.js(+35 -0)📝
src/components/tables/index.js(+3 -0)📝
src/components/utilities/CippActionsOffcanvas.js(+89 -24)➕
src/components/utilities/CippCamelCase.js(+19 -0)➕
src/data/classificationDetermination.json(+5 -0)📝
src/routes.js(+12 -6)📝
src/scss/_custom.scss(+10 -0)📝
src/store/api/security.js(+46 -1)📝
src/views/security/defender/ListDefender.js(+0 -0)📝
src/views/security/incidents/ListAlerts.js(+15 -6)➕
src/views/security/incidents/ListIncidents.js(+327 -0)📄 Description
[Send to dev branch this time 👀]
Rejig UI:
Defender IS a Security item, moved into security
Pulled alerts out of reports and moved into a group named Incidents & Alerts, this actually mirrors the MSFT security centre that is doing exactly this same thing, I think with the introduction of the incidents view it is good to maintain some consistency between MSFT UX and here if we can, MSFT spend bulk money on UX design so let's leverage from it :D
Added a CellTip.js object, this allows for a react tooltip to popup when we hover over rows. This is to combat those rows that are just truncating information leaving us with no way to see initially. I have put these tooltips into Incidents and Alerts views for now. Also widened some table rows to show more important info.
On CippActionsOffCanvas,js I have added a new action type actionSelectable. This is a select (dropdown) that we can use, I am using it to mimic exactly how MSFT are allowing us to select classification/determination in the security centre for my new incidents view. I probably aged 3 years making this, see example picture:
New Views:
ListIncidents.js <- As the name sounds, lists incidents. Incidents are containers of alerts which can be classified and assigned. Better than dealing with individual alerts when you're getting smashed by them.
Regarding incidents, incidents can be:
Misc:
In utilities added CippCamelCase.js it contains a function that takes any string and converts it into a camel case string with no spaces and a few other chars stripped, I needed this to send appropriate values back to MSFT API.
classificationDetermination.json contains the data presented for selection in the classification/determination selectable, and is the only legit data accepted by the MSFT that I know of. Cannot add our own values it seems.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.