-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add create report definition (#7091)
* Add create report definition * rename file and remove console.log * Add template body * Create report definition when creating dashboard by reference * Add button to reset report definition * Add modal restart definition * Add changelog
- Loading branch information
1 parent
052d464
commit 4868eba
Showing
9 changed files
with
1,138 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"diffEditor.ignoreTrimWhitespace": true, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnPaste": true, | ||
"editor.formatOnSave": true, | ||
"editor.inlineSuggest.enabled": true, | ||
"editor.insertSpaces": true, | ||
"editor.minimap.enabled": true, | ||
"editor.rulers": [80, 100], | ||
"editor.tabSize": 2, | ||
"editor.trimAutoWhitespace": true, | ||
"editor.wordWrap": "on", | ||
"explorer.confirmDelete": true, | ||
"files.autoSave": "off", | ||
"javascript.updateImportsOnFileMove.enabled": "always", | ||
"typescript.updateImportsOnFileMove.enabled": "always" | ||
} |
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
13 changes: 13 additions & 0 deletions
13
plugins/main/public/react-services/reporting/dashboards-generate-reports.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,13 @@ | ||
export interface DashboardGenerateReport { | ||
idDashboardByReference: string; | ||
titleReport: string; | ||
} | ||
|
||
export const vulnerabilityDetectionDashboardReport: DashboardGenerateReport = { | ||
idDashboardByReference: '94febc80-55a2-11ef-a580-5b5ba88681be', | ||
titleReport: 'Vulnerability Detection Dashboard Report', | ||
}; | ||
|
||
export const DASHBOARDS_GENERATE_REPORTS: Array<DashboardGenerateReport> = [ | ||
vulnerabilityDetectionDashboardReport, | ||
]; |
Oops, something went wrong.