diff --git a/src/components/routes/submission/detail.tsx b/src/components/routes/submission/detail.tsx
index 0f2607549..5942f23a2 100644
--- a/src/components/routes/submission/detail.tsx
+++ b/src/components/routes/submission/detail.tsx
@@ -83,6 +83,7 @@ export default function SubmissionDetail() {
const [summary, setSummary] = useState(null);
const [tree, setTree] = useState(null);
const [filtered, setFiltered] = useState(false);
+ const [partial, setPartial] = useState(false);
const [watchQueue, setWatchQueue] = useState(null);
const [liveResultKeys, setLiveResultKeys] = useReducer(messageReducer, []);
const [liveErrorKeys, setLiveErrorKeys] = useReducer(messageReducer, []);
@@ -528,6 +529,9 @@ export default function SubmissionDetail() {
if (summ_data.api_response.filtered) {
setFiltered(true);
}
+ if (summ_data.api_response.partial) {
+ setPartial(true);
+ }
}
});
apiCall({
@@ -537,6 +541,9 @@ export default function SubmissionDetail() {
if (tree_data.api_response.filtered) {
setFiltered(true);
}
+ if (tree_data.api_response.partial) {
+ setPartial(true);
+ }
}
});
} else {
@@ -958,6 +965,14 @@ export default function SubmissionDetail() {
)}
+ {partial && (
+
+
+ **{t('warning')}: {t('warning.partial')}
+
+
+ )}
+
{(!submission || Object.keys(submission.metadata).length !== 0) && (
)}
diff --git a/src/components/routes/submission/report.tsx b/src/components/routes/submission/report.tsx
index ae8a09167..aadedc0c6 100644
--- a/src/components/routes/submission/report.tsx
+++ b/src/components/routes/submission/report.tsx
@@ -740,6 +740,14 @@ export default function SubmissionReport() {
)}
+ {report && report.report_partial && (
+
+
+ **{t('warning')}: {t('warning.partial')}
+
+
+ )}
+
{(!report || Object.keys(report.metadata).length !== 0) && (
{t('metadata')}
diff --git a/src/locales/en/submission/detail.json b/src/locales/en/submission/detail.json
index d07714805..2dd348f15 100644
--- a/src/locales/en/submission/detail.json
+++ b/src/locales/en/submission/detail.json
@@ -54,5 +54,6 @@
"verdict.set.non_malicious": "Vote for Non-Malicious verdict",
"verdict.suspicious": "Suspicious",
"warning": "Warning",
+ "warning.partial": "Some information about this submission is missing from the system. Therefore you're only seeing partial results.",
"warning.text": "Some details about the submission has been filtered because you do not have enough privilege to view all the results."
}
diff --git a/src/locales/en/submission/report.json b/src/locales/en/submission/report.json
index 1e3ad476a..6255ce022 100644
--- a/src/locales/en/submission/report.json
+++ b/src/locales/en/submission/report.json
@@ -37,5 +37,6 @@
"title": "Submission Report",
"user.verdict": "User's Verdicts",
"warning": "Warning",
+ "warning.partial": "Some information about this report is missing from the system. Therefore you're only seeing a partial report.",
"warning.text": "Data in this report has been filtered because you do not have enough privilege to view the full report."
}
diff --git a/src/locales/fr/submission/detail.json b/src/locales/fr/submission/detail.json
index 661638b73..da338f682 100644
--- a/src/locales/fr/submission/detail.json
+++ b/src/locales/fr/submission/detail.json
@@ -54,5 +54,6 @@
"verdict.set.non_malicious": "Votez pour un verdict non malveillant",
"verdict.suspicious": "Suspect",
"warning": "Avertissement",
+ "warning.partial": "Certaines informations sur cette soumission sont absentes du système. Par conséquent, vous ne voyez que des résultats partiels.",
"warning.text": "Certains détails sur la soumission ont été filtrés car vous ne disposez pas de suffisamment de privilèges pour afficher tous les résultats."
}
diff --git a/src/locales/fr/submission/report.json b/src/locales/fr/submission/report.json
index f761a3305..746e942a7 100644
--- a/src/locales/fr/submission/report.json
+++ b/src/locales/fr/submission/report.json
@@ -37,5 +37,6 @@
"title": "Rapport de Soumission",
"user.verdict": "Verdict des Utilisateurs",
"warning": "Avertissement",
+ "warning.partial": "Certaines informations sur ce rapport sont manquantes dans le système. Par conséquent, vous ne voyez qu'un rapport partiel.",
"warning.text": "Les données de ce rapport ont été filtrées car vous ne disposez pas des privilèges suffisants pour afficher le rapport complet."
}