-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1d6045f
commit a79cda8
Showing
56 changed files
with
229 additions
and
3,533 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
projects/js-packages/scan/changelog/add-additional-scan-types
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,4 @@ | ||
Significance: minor | ||
Type: added | ||
|
||
Added more types for working with scan results. |
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,2 +1,3 @@ | ||
export * from './fixers'; | ||
export * from './status'; | ||
export * from './threats'; |
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,33 @@ | ||
import { Threat } from '..'; | ||
|
||
export type ScanStatus = { | ||
/** The current status of the scanner. */ | ||
status: 'unavailable' | 'provisioning' | 'idle' | 'scanning' | 'scheduled'; | ||
|
||
/** The IDs of fixable threats. */ | ||
fixableThreatIds: number[]; | ||
|
||
/** The current scan progress, only available from the Scan API. */ | ||
currentProgress: number | null; | ||
|
||
/** The data source for the scan status. */ | ||
dataSource: 'protect_report' | 'scan_api'; | ||
|
||
/** Whether the site currently has extensions not checked in the latest scan. */ | ||
hasUncheckedItems: boolean; | ||
|
||
/** The time the last scan was checked, in YYYY-MM-DD HH:MM:SS format. */ | ||
lastChecked: string | null; | ||
|
||
/** Whether there was an error in the scan results. */ | ||
error: boolean | null; | ||
|
||
/** The error code. */ | ||
errorCode: string | null; | ||
|
||
/** The error message. */ | ||
errorMessage: string | null; | ||
|
||
/** The detected threats. */ | ||
threats: Threat[]; | ||
}; |
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,5 @@ | ||
Significance: minor | ||
Type: changed | ||
|
||
Added DataViews component for viewing scan results. | ||
|
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
64 changes: 0 additions & 64 deletions
64
projects/plugins/protect/src/js/components/free-accordion/index.jsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.