-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Action Center: View discovered System Aggregate Results (#5653)
- Loading branch information
1 parent
483d798
commit a583252
Showing
22 changed files
with
519 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
84 changes: 84 additions & 0 deletions
84
...min-ui/cypress/fixtures/detection-discovery/activity-center/system-aggregate-results.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"id": null, | ||
"name": null, | ||
"system_key": null, | ||
"vendor_id": null, | ||
"total_updates": 108, | ||
"locations": ["USA"], | ||
"domains": [ | ||
"alb.reddit.com", | ||
"api.hubapi.com", | ||
"app.revenuehero.io", | ||
".ethyca.com", | ||
"ethyca.com", | ||
"ethyca.fides-cdn.ethyca.com", | ||
"forms.hscollectedforms.net", | ||
"forms.hubspot.com", | ||
"forms-na1.hsforms.com", | ||
"googleads.g.doubleclick.net", | ||
".hsadspixel.net", | ||
".hsforms.com", | ||
".hs-scripts.com", | ||
".hubspot.com", | ||
"js.hsadspixel.net", | ||
"js.hs-analytics.net", | ||
"js.hs-banner.com", | ||
"js.hscollectedforms.net", | ||
"js.hs-scripts.com", | ||
"kit.fontawesome.com", | ||
".linkedin.com", | ||
"pixel-config.reddit.com", | ||
"px.ads.linkedin.com", | ||
"snap.licdn.com", | ||
"stats.g.doubleclick.net", | ||
"track.hubspot.com", | ||
"www.clickcease.com", | ||
".www.linkedin.com", | ||
"www.redditstatic.com" | ||
] | ||
}, | ||
{ | ||
"id": "system_key-72649f03-7a30-4758-9772-e74fca3b6788", | ||
"name": "Google Tag Manager", | ||
"system_key": "system_key-72649f03-7a30-4758-9772-e74fca3b6788", | ||
"vendor_id": "fds.1046", | ||
"total_updates": 10, | ||
"locations": ["USA"], | ||
"domains": [ | ||
"td.doubleclick.net", | ||
"www.google.com", | ||
"www.googletagmanager.com" | ||
] | ||
}, | ||
{ | ||
"id": "system_key-652c8984-ade7-470b-bce4-7e184621be9d", | ||
"name": "Hubspot", | ||
"system_key": "system_key-652c8984-ade7-470b-bce4-7e184621be9d", | ||
"vendor_id": "fds.1053", | ||
"total_updates": 6, | ||
"locations": ["USA", "Canada"], | ||
"domains": [ | ||
"forms.hsforms.com", | ||
".hs-analytics.net", | ||
".hs-banner.com", | ||
".hsforms.net", | ||
"js.hsforms.net" | ||
] | ||
}, | ||
{ | ||
"id": "fds.1047", | ||
"name": "Google Analytics", | ||
"system_key": null, | ||
"vendor_id": "fds.1047", | ||
"total_updates": 1, | ||
"locations": ["USA"], | ||
"domains": ["analytics.google.com"] | ||
} | ||
], | ||
"total": 4, | ||
"page": 1, | ||
"size": 25, | ||
"pages": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
clients/admin-ui/src/features/common/custom-fields/Layout.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
...s/admin-ui/src/features/data-discovery-and-detection/action-center/action-center.slice.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import { baseApi } from "~/features/common/api.slice"; | ||
import { PaginationQueryParams } from "~/types/common/PaginationQueryParams"; | ||
|
||
import { | ||
MonitorSummaryPaginatedResponse, | ||
MonitorSystemAggregatePaginatedResponse, | ||
} from "./types"; | ||
|
||
const actionCenterApi = baseApi.injectEndpoints({ | ||
endpoints: (build) => ({ | ||
getAggregateMonitorResults: build.query< | ||
MonitorSummaryPaginatedResponse, | ||
{ | ||
search?: string; | ||
} & PaginationQueryParams | ||
>({ | ||
query: ({ page = 1, size = 20, search }) => ({ | ||
url: `/plus/discovery-monitor/aggregate-results`, | ||
params: { page, size, search, diff_status: "addition" }, | ||
}), | ||
providesTags: ["Discovery Monitor Results"], | ||
}), | ||
getDiscoveredSystemAggregate: build.query< | ||
MonitorSystemAggregatePaginatedResponse, | ||
{ | ||
key: string; | ||
search?: string; | ||
} & PaginationQueryParams | ||
>({ | ||
query: ({ key, page = 1, size = 20, search }) => ({ | ||
url: `/plus/discovery-monitor/system-aggregate-results`, | ||
params: { | ||
monitor_config_id: key, | ||
page, | ||
size, | ||
search, | ||
diff_status: "addition", | ||
}, | ||
}), | ||
providesTags: ["Discovery Monitor Results"], | ||
}), | ||
}), | ||
}); | ||
|
||
export const { | ||
useGetAggregateMonitorResultsQuery, | ||
useGetDiscoveredSystemAggregateQuery, | ||
} = actionCenterApi; |
24 changes: 0 additions & 24 deletions
24
...s/admin-ui/src/features/data-discovery-and-detection/action-center/actionCenter.slice.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.