diff --git a/config/clientparameters.go b/config/clientparameters.go index 86287fd8..15b8312d 100644 --- a/config/clientparameters.go +++ b/config/clientparameters.go @@ -196,9 +196,10 @@ type DetectionsParameters struct { } type DetectionParameters struct { - Presets map[string]PresetParameters `json:"presets"` - SeverityTranslations map[string]string `json:"severityTranslations"` - TemplateDetections map[string]string `json:"templateDetections"` + Presets map[string]PresetParameters `json:"presets"` + SeverityTranslations map[string]string `json:"severityTranslations"` + TemplateDetections map[string]string `json:"templateDetections"` + ShowUnreviewedAiSummaries bool `json:"showUnreviewedAiSummaries"` } func (params *DetectionsParameters) Verify() error { diff --git a/html/css/app.css b/html/css/app.css index 4b79ad05..64d2c61b 100644 --- a/html/css/app.css +++ b/html/css/app.css @@ -684,4 +684,8 @@ tbody tr:hover { .theme--light tbody tr:hover:nth-of-type(even) { background-color: rgba(230, 230, 230, 0.25) !important; -} \ No newline at end of file +} + +.unset-vertical-align { + vertical-align: unset !important; +} diff --git a/html/index.html b/html/index.html index b3381cd9..4f16e792 100644 --- a/html/index.html +++ b/html/index.html @@ -1144,10 +1144,17 @@

{{ detect.title }}

-
{{i18n.summary}}
-
+
{{i18n.summary}} fa-flask
+
+ {{ detect.aiSummary }} +
+ ({{ i18n.aiSummaryStale }}) +
+
+
{{ extractedSummary }}
+
{{i18n.references}}