-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): AffectedSystems are not pulled from engine
- Loading branch information
1 parent
e337d24
commit 6d485a0
Showing
8 changed files
with
71 additions
and
92 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export const FETCH_CVES = 'CVE_FETCH_DATA'; | ||
export const FETCH_CVE_DETAILS = 'CVE_FETCH_DETAILS'; | ||
export const FETCH_CVES_WITH_SYSTEMS = 'CVE_FETCH_DATA_SYSTEMS'; | ||
export const FETCH_AFFECTED_SYSTEMS_BY_CVE = 'CVE_FETCH_AFFECTED_SYSTEMS'; | ||
export const FILTER_CVES = 'CVE_FILTER'; | ||
export const FETCH_CHANGES_SINCE_LAST_LOGIN = 'CHANGES_SINCE_LAST_LOGIN'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import { createSelector } from 'reselect'; | ||
import { createCveWithSystemsTable, createCveDetailsPage, createExposedSystemsTable } from '../../Helpers/CVE/CVEHelper'; | ||
import { createCveDetailsPage, createCveWithSystemsTable, createExposedSystemsTable } from '../../Helpers/CVE/CVEHelper'; | ||
|
||
const cveListWithSystemsSelector = state => state.CVEStore.cveListWithSystems.items; | ||
const cveListWithSystemsSelector = state => state.CVEStore.affectedSystemsByCVE; | ||
const cveDetailsPageSelector = state => state.CVEStore.cveDetails; | ||
|
||
export const sCvesWithSystemsTable = createSelector([cveListWithSystemsSelector], createCveWithSystemsTable); | ||
export const sCveDetailsPage = createSelector([cveDetailsPageSelector], createCveDetailsPage); | ||
export const sExposedSystemsTable = createSelector([cveDetailsPageSelector], createExposedSystemsTable); | ||
export const sExposedSystemsTable = createSelector([cveListWithSystemsSelector], createExposedSystemsTable); |