Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge gsa-20.08 into master #2426

Merged
merged 78 commits into from
Aug 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
7f8f355
Update wording
bjoernricks Aug 6, 2020
a873e07
Don't change global filter object
bjoernricks Aug 6, 2020
d29fdbb
Allow to use a different name to load the page filter
bjoernricks Aug 6, 2020
c9dbf99
Revert commit and use filter from FilterProvider again
bjoernricks Aug 6, 2020
7ec8842
During loading a report use the stored page filter
bjoernricks Aug 6, 2020
9509dfa
Update loading of results filter for report details
bjoernricks Aug 6, 2020
ef85565
Add CHANGELOG entry
bjoernricks Aug 6, 2020
d9ad09d
Adjust ErrorPanel to handle long error messages without overflow
swaterkamp Aug 6, 2020
8cc8f34
Merge pull request #2366 from bjoernricks/fix-report-result-filter-de…
saberlynx Aug 6, 2020
d0e328e
Handle missing report formats with a better error message
swaterkamp Aug 6, 2020
1a3349d
Translate new error message for missing report formats to German
swaterkamp Aug 6, 2020
45072cb
Update Changelog
swaterkamp Aug 6, 2020
35352fa
Merge branch 'gsa-20.08' into UndefRepForm
swaterkamp Aug 6, 2020
48443d6
Merge pull request #2367 from swaterkamp/UndefRepForm
swaterkamp Aug 6, 2020
03dd128
Fix pagination for report results tab
bjoernricks Aug 6, 2020
6880977
Update CHANGELOG
bjoernricks Aug 6, 2020
e01e9b4
Fix displaying correct counts in empty result message box
bjoernricks Aug 6, 2020
845810a
Update CHANGELOG
bjoernricks Aug 6, 2020
c2fa273
Merge pull request #2365 from bjoernricks/fix-pagination-for-report-r…
sarahd93 Aug 7, 2020
8202ea6
Updated references in docs / manpages.
cfi-gb Aug 7, 2020
12540a1
Update gsad/doc/gsad.html
cfi-gb Aug 7, 2020
5a0cf51
Update gsad/doc/gsad.8
cfi-gb Aug 7, 2020
264460b
Merge pull request #2369 from cfi-gb/update_doc_references
bjoernricks Aug 7, 2020
6ba77f2
Minor textual improvement to explain which feed should be synced.
cfi-gb Aug 7, 2020
33fb63f
Make the daemon name lower case.
cfi-gb Aug 7, 2020
a121118
Change the daemon name to lowercase in feedstatuspage.js test.
cfi-gb Aug 7, 2020
c26b670
Merge pull request #2371 from cfi-gb/minor_text_improvement
bjoernricks Aug 7, 2020
34f091b
Merge branch 'gsa-20.08' into daemon_name_lowercase
bjoernricks Aug 7, 2020
b8298b5
Merge pull request #2372 from cfi-gb/daemon_name_lowercase
bjoernricks Aug 7, 2020
4f384d5
Update links to techdoc and gmp api for 20.08 release
bjoernricks Aug 7, 2020
26ed723
Merge branch 'gsa-20.08' into update-doc-links
swaterkamp Aug 7, 2020
2b96125
Merge pull request #2373 from bjoernricks/update-doc-links
bjoernricks Aug 7, 2020
b235957
Minor systemd / config files updates:
cfi-gb Aug 10, 2020
48a0a64
Renamed variables.
cfi-gb Aug 10, 2020
f09130f
Update gsad/config/gsad.service.in
cfi-gb Aug 10, 2020
26f8727
Merge pull request #2375 from cfi-gb/systemd_updates
bjoernricks Aug 10, 2020
0182d7e
Prepare Changelog for release
swaterkamp Aug 11, 2020
cb8e3fe
Prepare CMakeLists for release
swaterkamp Aug 11, 2020
fa0baa6
Update changelog
bjoernricks Aug 11, 2020
d764d57
Prepare 20.08.0 release of GSA
bjoernricks Aug 11, 2020
22cf900
Update license of GSA in package.json file
bjoernricks Aug 11, 2020
18568a4
Merge pull request #2377 from bjoernricks/create-new-release
bjoernricks Aug 11, 2020
a115fe1
Update Changelog for new unreleased release
swaterkamp Aug 11, 2020
15d85d8
Update CHANGELOG.md
swaterkamp Aug 11, 2020
2e94057
Update CHANGELOG.md
swaterkamp Aug 11, 2020
bf0cdf1
Merge pull request #2378 from swaterkamp/gsa-20.08
swaterkamp Aug 11, 2020
fa423e8
fix missing nvt solution type
sarahd93 Aug 14, 2020
3b9aa5f
update changelog
sarahd93 Aug 14, 2020
40d9aee
Merge pull request #2388 from sarahd93/nvt_solution_20.08
swaterkamp Aug 14, 2020
8a303f5
Use text indicator when feed is updating
saberlynx Aug 17, 2020
d76af5c
Adjust test for new loading text
saberlynx Aug 17, 2020
5d60c0e
Update german translation
saberlynx Aug 17, 2020
7b64561
Merge pull request #2393 from saberlynx/new-loading-indic
swaterkamp Aug 17, 2020
7cc60cc
Increase age for feed being too old and display Please check automati…
saberlynx Aug 17, 2020
3622444
Add data-testid for update message
saberlynx Aug 17, 2020
f13e884
Adjust feedstatuspage test to make sure update message is only render…
saberlynx Aug 17, 2020
17e870b
Update CHANGELOG.md
saberlynx Aug 17, 2020
19a5681
Merge pull request #2394 from saberlynx/too-old
bjoernricks Aug 17, 2020
5b6dade
Disable editing feed objects according to .predefined
swaterkamp Aug 17, 2020
de56486
Parse [feedObject].predefined as boolean
swaterkamp Aug 17, 2020
6f2d9a1
Add tests for [feedObject].predefined
swaterkamp Aug 17, 2020
7cbe05d
fix missing oval def subsections
sarahd93 Aug 18, 2020
186608d
update changelog
sarahd93 Aug 18, 2020
a07de2c
Merge pull request #2396 from sarahd93/oval_def_sections_empty_20.08
bjoernricks Aug 18, 2020
c225ec0
Use predefined filter keyword instead of list of UUIDs
swaterkamp Aug 19, 2020
664767f
Adjust tests for composeObjFilter() and new predefined filter keyword
swaterkamp Aug 19, 2020
c0f2491
Remove unused manual feed object UUID lists from FeedStatusPage
swaterkamp Aug 19, 2020
0e83447
Update Changelog
swaterkamp Aug 19, 2020
7e6dd1c
Fix test name for policy model test
swaterkamp Aug 19, 2020
fa51e29
Merge branch 'gsa-20.08' into feedObjEditing
swaterkamp Aug 19, 2020
3b17228
Merge pull request #2398 from swaterkamp/feedObjEditing
swaterkamp Aug 19, 2020
04d4729
Allow to select 'Start Task' event on 'New SecInfo' condition for alerts
swaterkamp Aug 24, 2020
98ce261
Update Changelog
swaterkamp Aug 24, 2020
8fad03c
Merge pull request #2419 from swaterkamp/startTaskOnNewSecInfo
saberlynx Aug 24, 2020
186c467
Merge remote-tracking branch 'upstream/gsa-20.08' into merge-2008
saberlynx Aug 27, 2020
daa0f8c
Replace waitForElement with waitFor in filterprovider test
saberlynx Aug 27, 2020
c12201c
Revert filterprovider test overwritten by merge
saberlynx Aug 27, 2020
dd6d6f0
Merge branch 'master' into merge-2008
saberlynx Aug 28, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 26 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,25 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

[21.04]: https://github.com/greenbone/gsa/compare/gsa-20.08...master

## [20.08] - unreleased
## [20.8.1] - unreleased

### Added
- Add reload timer to feedstatuspage and displaying when updating is in progress [#2350](https://github.com/greenbone/gsa/pull/2350)
- Add filtered links to GVMD_DATA row in feed status page [#2339](https://github.com/greenbone/gsa/pull/2339)
- Added option for "Start Task" event upon "New SecInfo arrived" condition in alerts dialog [#2418](https://github.com/greenbone/gsa/pull/2418)

### Changed
- Use <predefined> to disable feed object editing and filter creation on feed status page [#2398](https://github.com/greenbone/gsa/pull/2398)

### Fixed

### Removed

[20.8.1]: https://github.com/greenbone/gsa/compare/v20.8.0...gsa-20.08

## [20.8.0] - 2020-08-11

### Added
- Added reload timer to feedstatuspage and displaying when updating is in progress [#2350](https://github.com/greenbone/gsa/pull/2350)
- Added filtered links to GVMD_DATA row in feed status page [#2339](https://github.com/greenbone/gsa/pull/2339)
- Added loading indicator for CVEs on CPE detailspage [#2248](https://github.com/greenbone/gsa/pull/2248)
- Added new form validation feature, implemented on create and edit ticket dialog [#1782](https://github.com/greenbone/gsa/pull/1782)
- Added German translation for About page [#1998](https://github.com/greenbone/gsa/pull/1998)
Expand All @@ -38,11 +52,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Added handling of queued task status [#2208](https://github.com/greenbone/gsa/pull/2208)

### Changed
- Increase age for feed being too old [#2394](https://github.com/greenbone/gsa/pull/2394)
- Do not use result filter from store on report detailspage by default [#2358](https://github.com/greenbone/gsa/pull/2358)
- Improve performance of form fields in edit scan config dialog [#2354](https://github.com/greenbone/gsa/pull/2354)
- Default to sorting nvts by "Created", newest first [#2352](https://github.com/greenbone/gsa/pull/2352)
- Disable EditIcons for data objects from feed [#2346](https://github.com/greenbone/gsa/pull/2346)
- EmptyResultsReport uses the same counts as the results tab title in normal reports, when filtering for nonexistent results [#2335](https://github.com/greenbone/gsa/pull/2335)
- Improve error 503 message at login [#2310](https://github.com/greenbone/gsa/pull/2310)
- Use unified solution type instead of solution type nvt tag [#2268](https://github.com/greenbone/gsa/pull/2268)
- Changed queued status color [#2227](https://github.com/greenbone/gsa/pull/2227)
Expand All @@ -60,6 +74,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Deleting a single entity now removes its ID from store [#1839](https://github.com/greenbone/gsa/pull/1839)

### Fixed
- Fixed empty subsections on oval def details page [#2396](https://github.com/greenbone/gsa/pull/2396)
- Fixed missing NVT solution [#2388](https://github.com/greenbone/gsa/pull/2388)
- EmptyResultsReport uses the same counts as the results tab title in normal reports, when filtering for nonexistent results
[#2335](https://github.com/greenbone/gsa/pull/2335), [#2365](https://github.com/greenbone/gsa/pull/2365)
- Show proper error message on report detailspage when no report format is available [#2367](https://github.com/greenbone/gsa/pull/2367)
- Don't use stored result list page filter at report results tab [#2366](https://github.com/greenbone/gsa/pull/2366)
- Fixed pagination of report results [#2365](https://github.com/greenbone/gsa/pull/2365)
- Fixed flickering reports [#2359](https://github.com/greenbone/gsa/pull/2359)
- Fixed "Hosts scanned" in report details disappearing during page refresh [#2357](https://github.com/greenbone/gsa/pull/2357)
- Fixed schedule_periods not forwarded if there is no schedule [#2331](https://github.com/greenbone/gsa/pull/2331)
Expand Down Expand Up @@ -88,7 +109,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Removed "All SecInfo" section [#1685](https://github.com/greenbone/gsa/pull/1685) [#1695](https://github.com/greenbone/gsa/pull/1695)
- Removed agents [#1903](https://github.com/greenbone/gsa/pull/1903)

[20.08]: https://github.com/greenbone/gsa/compare/gsa-9.0...gsa-20.08
[20.8.0]: https://github.com/greenbone/gsa/compare/gsa-9.0...v20.8.0

## [9.0.1] - 2020-05-13

Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ message ("-- Configuring Greenbone Security Assistant")
# VERSION: Set patch version for stable releases, e.g. "9.0.1",
# unset patch version for prereleases, e.g. "9.0"
project (greenbone-security-assistant
VERSION 20.08)
VERSION 20.8.0)

SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)

Expand All @@ -32,7 +32,7 @@ endif (NOT CMAKE_BUILD_TYPE)

# set if this is in prerelease status, starting at 0 before first beta release,
# unset if this is a stable release series.
set (PROJECT_BETA_RELEASE 0)
# set (PROJECT_BETA_RELEASE 0)

## Retrieve git revision (at configure time)
include (ProjectVersion)
Expand Down
2 changes: 1 addition & 1 deletion gsa/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cmake_minimum_required (VERSION 3.0)

message ("-- Configuring gsa")

project (gsa VERSION 20.08 LANGUAGES)
project (gsa VERSION 20.8.0 LANGUAGES)

set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

Expand Down
4 changes: 2 additions & 2 deletions gsa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gsa",
"version": "20.08",
"version": "20.08.0",
"description": "Greenbone Security Assistant",
"keywords": [
"openvas",
Expand All @@ -14,7 +14,7 @@
"url": "https://github.com/greenbone/gsa/"
},
"author": "Björn Ricks <[email protected]>",
"license": "GPL-2.0+",
"license": "AGPL-3.0+",
"main": "src/index.js",
"engines": {
"node": ">=10.0"
Expand Down
2 changes: 2 additions & 0 deletions gsa/public/locales/gsa-de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1659,6 +1659,7 @@
"The maximum of {{num}} hosts was exceeded. If there are more hosts associated with this process, they will not be taken into account.": "Das Maximum von {{num}} Hosts wurde überschritten. Sollten weitere Hosts mit diesem Prozess verknüpft sein, werden sie nicht mitberücksichtigt.",
"The name must include at least one alphanumeric character or one of .,-/_# and space.": "Der Name muss mindestens ein alphanumerisches Zeichen oder eines von .,-/_# und Leerzeichen enthalten.",
"The port range needs numerical values for start and end!": "Der Portbereich benötigt numerische Werte für Start und Ende!",
"The report cannot be displayed because no Greenbone Vulnerability Manager report format is available. This could be due to a missing gvmd data feed. Please update the gvmd data feed, check the \"feed import owner\" setting, or contact your system administrator.": "Der Bericht kann nicht angezeigt werden, weil dem Greenbone Vulnerability Manager kein Berichtformat zur Verfügung steht. Dies könnte an einem fehlenden gvmd Data Feed liegen. Bitte aktualisieren Sie den gvmd Data Feed, überprüfen die \"Feed Import Besitzer\"-Einstellungen, oder kontaktieren Ihren Systemadministrator.",
"The report is empty. The filter does not match any of the {{all}} results.": "Der Bericht ist leer. Der Filter passt zu keinem der {{all}} Ergebnisse.",
"The scan did not collect any results": "Der Scan hat keine Ergebnisse gesammelt",
"The scan is still running and no results have arrived yet": "Der Scan läuft noch und es sind noch keine Ergebnisse eingetroffen",
Expand Down Expand Up @@ -1758,6 +1759,7 @@
"Unreliable rem. banner": "Unzuverlässiger Banner",
"Update": "Aktualisieren",
"Update Filter": "Filter aktualisieren",
"Update in progress...": "Aktualisierung läuft...",
"Updated": "Aktualisiert",
"Updated {{secinfo_type}} arrived": "Aktualisierte {{secinfo_type}} eingetroffen",
"Updated: ": "Aktualisiert: ",
Expand Down
5 changes: 3 additions & 2 deletions gsa/src/gmp/gmpsettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ export const DEFAULT_GRAPHQL_API_LOCATION = 'selene/graphql/';
export const DEFAULT_RELOAD_INTERVAL = 15 * 1000; // fifteen seconds
export const DEFAULT_RELOAD_INTERVAL_ACTIVE = 3 * 1000; // three seconds
export const DEFAULT_RELOAD_INTERVAL_INACTIVE = 60 * 1000; // one minute
export const DEFAULT_MANUAL_URL = 'http://docs.greenbone.net/GSM-Manual/gos-6/';
export const DEFAULT_MANUAL_URL =
'http://docs.greenbone.net/GSM-Manual/gos-20.08/';
export const DEFAULT_PROTOCOLDOC_URL =
'https://docs.greenbone.net/API/GMP/gmp-9.0.html';
'https://docs.greenbone.net/API/GMP/gmp-20.08.html';
export const DEFAULT_REPORT_RESULTS_THRESHOLD = 25000;
export const DEFAULT_LOG_LEVEL = 'warn';
export const DEFAULT_TIMEOUT = 300000; // 5 minutes
Expand Down
8 changes: 8 additions & 0 deletions gsa/src/gmp/models/__tests__/policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,14 @@ describe('Policy model tests', () => {

expect(policy.audits).toEqual([]);
});

test('should parse predefined as boolean correctly', () => {
const policy = Policy.fromElement({predefined: '0'});
const policy2 = Policy.fromElement({predefined: '1'});

expect(policy.predefined).toEqual(false);
expect(policy2.predefined).toEqual(true);
});
});

// vim: set ts=2 sw=2 tw=80:
8 changes: 8 additions & 0 deletions gsa/src/gmp/models/__tests__/portlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@ describe('PortList model tests', () => {

expect(portList.targets).toEqual([]);
});

test('should parse predefined as boolean correctly', () => {
const portList = PortList.fromElement({predefined: '0'});
const portList2 = PortList.fromElement({predefined: '1'});

expect(portList.predefined).toEqual(false);
expect(portList2.predefined).toEqual(true);
});
});

// vim: set ts=2 sw=2 tw=80:
8 changes: 8 additions & 0 deletions gsa/src/gmp/models/__tests__/reportformat.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ describe('ReportFormat model tests', () => {
expect(reportFormat2.active).toEqual(YES_VALUE);
});

test('should parse predefined as boolean correctly', () => {
const reportFormat = ReportFormat.fromElement({predefined: '0'});
const reportFormat2 = ReportFormat.fromElement({predefined: '1'});

expect(reportFormat.predefined).toEqual(false);
expect(reportFormat2.predefined).toEqual(true);
});

test('should parse alerts', () => {
const elem = {
alerts: {
Expand Down
8 changes: 8 additions & 0 deletions gsa/src/gmp/models/__tests__/scanconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,14 @@ describe('ScanConfig model tests', () => {

expect(scanConfig.tasks).toEqual([]);
});

test('should parse predefined as boolean correctly', () => {
const scanConfig = ScanConfig.fromElement({predefined: '0'});
const scanConfig2 = ScanConfig.fromElement({predefined: '1'});

expect(scanConfig.predefined).toEqual(false);
expect(scanConfig2.predefined).toEqual(true);
});
});

describe('ScanConfigs model function test', () => {
Expand Down
8 changes: 4 additions & 4 deletions gsa/src/gmp/models/nvt.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ class Nvt extends Info {
getFilteredRefs(refs, 'cert-bund'),
);

if (isDefined(element.solution)) {
if (isDefined(ret.solution)) {
ret.solution = {
type: element.solution._type,
description: element.solution.__text,
method: element.solution._method,
type: ret.solution._type,
description: ret.solution.__text,
method: ret.solution._method,
};
}

Expand Down
4 changes: 2 additions & 2 deletions gsa/src/gmp/models/ovaldef.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ class Ovaldef extends Info {
static parseElement(element) {
const ret = super.parseElement(element, 'ovaldef');

ret.severity = parseSeverity(element.max_cvss);
ret.severity = parseSeverity(ret.max_cvss);
delete ret.max_cvss;

const {raw_data} = element;
const {raw_data} = ret;

if (isDefined(raw_data) && isDefined(raw_data.definition)) {
const {definition} = raw_data;
Expand Down
4 changes: 3 additions & 1 deletion gsa/src/gmp/models/policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {isDefined} from '../utils/identity';
import {forEach, map} from '../utils/array';
import {isEmpty} from '../utils/string';

import {parseInt} from '../parser';
import {parseInt, parseBoolean} from '../parser';

import Model, {parseModelFromElement} from '../model';

Expand Down Expand Up @@ -130,6 +130,8 @@ class Policy extends Model {
ret.audits = [];
}

ret.predefined = parseBoolean(element.predefined);

return ret;
}
}
Expand Down
5 changes: 4 additions & 1 deletion gsa/src/gmp/models/portlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {map} from '../utils/array';

import Model, {parseModelFromElement} from '../model';

import {parseInt} from '../parser';
import {parseInt, parseBoolean} from '../parser';

class PortRange extends Model {
static entityType = 'portrange';
Expand Down Expand Up @@ -71,6 +71,9 @@ class PortList extends Model {
} else {
ret.targets = [];
}

ret.predefined = parseBoolean(element.predefined);

return ret;
}
}
Expand Down
3 changes: 2 additions & 1 deletion gsa/src/gmp/models/reportformat.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {isDefined, isObject} from '../utils/identity';
import {map} from '../utils/array';
import {isEmpty} from '../utils/string';

import {parseDate, parseYesNo, YES_VALUE} from '../parser';
import {parseDate, parseYesNo, YES_VALUE, parseBoolean} from '../parser';

import Model, {parseModelFromElement} from '../model';

Expand Down Expand Up @@ -84,6 +84,7 @@ class ReportFormat extends Model {
}

ret.active = parseYesNo(element.active);
ret.predefined = parseBoolean(element.predefined);

return ret;
}
Expand Down
4 changes: 3 additions & 1 deletion gsa/src/gmp/models/scanconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {isDefined} from '../utils/identity';
import {forEach, map} from '../utils/array';
import {isEmpty} from '../utils/string';

import {parseInt} from '../parser';
import {parseInt, parseBoolean} from '../parser';

import Model, {parseModelFromElement} from '../model';

Expand Down Expand Up @@ -167,6 +167,8 @@ class ScanConfig extends Model {
ret.tasks = [];
}

ret.predefined = parseBoolean(element.predefined);

return ret;
}
}
Expand Down
2 changes: 0 additions & 2 deletions gsa/src/web/components/error/errorpanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ const ErrorDetails = styled.div`
background-color: ${Theme.white};
padding: 5px;
max-height: 200px;
overflow: auto;
overflow-x: auto;
white-space: pre;
`;

const ErrorPanel = ({error, message, info}) => {
Expand Down
Loading