Skip to content

Commit

Permalink
Merge pull request #658 from rkg-mm/2041-introduce-collection-projects
Browse files Browse the repository at this point in the history
  • Loading branch information
nscuro authored Dec 10, 2024
2 parents ba3d578 + ebed999 commit 06e55a2
Show file tree
Hide file tree
Showing 33 changed files with 721 additions and 122 deletions.
6 changes: 6 additions & 0 deletions src/assets/scss/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -508,3 +508,9 @@ td a.detail-icon {
display: inline;
white-space: nowrap;
}


.icon-cellend {
float: right;
padding-top: 0.3rem;
}
2 changes: 2 additions & 0 deletions src/assets/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ $severity-medium: $yellow;
$severity-low: $green;
$severity-info: $blue;
$severity-unassigned: #777777;
$collection-logic-changed: #0000FF;
$severity-label-bg: $grey-900 !default;

$notification-fail: $red;
Expand Down Expand Up @@ -229,6 +230,7 @@ $recessed: $grey-850;
--severity-low: #{$severity-low};
--severity-info: #{$severity-info};
--severity-unassigned: #{$severity-unassigned};
--collection-logic-changed: #{$collection-logic-changed};

--notification-fail: #{$notification-fail};
--notification-warn: #{$notification-warn};
Expand Down
17 changes: 17 additions & 0 deletions src/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,12 @@
"close": "Schließen",
"code_not_present": "Code nicht vorhanden",
"code_not_reachable": "Code nicht erreichbar",
"collectionLogic": "Projektsammlungslogik",
"collection_logic_changed": "Projektsammlungslogik geändert",
"collection_logic_metrics_by_aggregate_direct_children": "Die Metriken des Sammlungsprojekts werden durch die Aggregation der Zahlen aller direkten untergeordneten Elemente berechnet.",
"collection_logic_metrics_by_aggregate_direct_children_with_tags": "Die Metriken des Sammlungsprojekts werden berechnet, indem die Zahlen aller direkten untergeordneten Elemente mit dem Tag „{tag}“ aggregiert werden.",
"collection_logic_metrics_by_aggregate_latest_version": "Die Metriken des Sammlungsprojekts werden durch die Aggregation der Anzahl der neuesten Versionen direkter untergeordneter Elemente berechnet.",
"collection_projects": "Projekte in Sammlung",
"comment": "Kommentar",
"comments": "Kommentare",
"component": "Komponente",
Expand All @@ -374,9 +380,11 @@
"component_container": "Container",
"component_cpe_desc": "Die CPE v2.2- oder v2.3-URI, wie von MITRE oder NIST bereitgestellt. Für alle Assets (Anwendungen, Betriebssysteme und Hardware) sollte ein CPE angegeben werden",
"component_created": "Komponente erstellt",
"component_data": "Daten",
"component_deleted": "Komponente gelöscht",
"component_details": "Komponentendetails",
"component_device": "Gerät",
"component_device_driver": "Gerätetreiber",
"component_file": "Datei",
"component_filename_desc": "Gibt den beobachteten Dateinamen der Komponente an",
"component_firmware": "Firmware",
Expand All @@ -388,11 +396,14 @@
"component_library": "Bibliothek",
"component_license_expression_desc": "Gibt Lizenzinformationen für die Komponente in Form eines SPDX-Ausdrucks an",
"component_license_url_desc": "Gibt die URL zur Lizenz der Komponente an",
"component_machine_learning_model": "Modell des maschinellen Lernens",
"component_name": "Komponentenname",
"component_name_desc": "Der vom Lieferanten angegebene Name der Komponente",
"component_namespace_group_vendor": "Namespace/Gruppe/Anbieter",
"component_none_classifier": "Keiner",
"component_operating_system": "Betriebssystem",
"component_package_url_desc": "Für Bibliotheken und Frameworks ist eine gültige Paket-URL erforderlich. PURL-Syntax: pkg:type/namespace/name@version?qualifiers#subpath",
"component_platform": "Plattform",
"component_properties": "Komponenteneigenschaften",
"component_search": "Komponentensuche",
"component_spdx_license_desc": "Gibt die SPDX-Lizenz-ID der Komponente an",
Expand Down Expand Up @@ -711,7 +722,13 @@
"portfolio_vulnerabilities": "Portfolio-Schwachstellen",
"profile_update": "Profil aktualisieren",
"profile_updated": "Profil aktualisiert",
"project_add_collection_tag": "Summiere Daten von Kindern mit diesem Tag",
"project_cloning_in_progress": "Das Projekt wird mit den angegebenen Klonoptionen erstellt",
"project_collection_logic_aggregate_direct_children": "Summiere Daten von direkten Kindern",
"project_collection_logic_aggregate_direct_children_with_tag": "Summiere Daten von direkten Kindern mit Tag",
"project_collection_logic_desc": "Gibt an, ob das Projekt ein Sammlungsprojekt ist und welche Berechnung für die Metriken verwendet werden soll. Sammlungsprojekte haben keine eigenen Komponenten, sondern zeigen Daten ihrer Kinder an, basierend auf der gewählten Berechnungsart.",
"project_collection_logic_latest_version_children": "Summiere Daten direkter Kinder, die als letzte Version markiert sind",
"project_collection_logic_none": "Keine",
"project_created": "Projekt erstellt",
"project_delete_message": "Durch das Löschen dieses Projekts werden auch alle zugehörigen untergeordneten Projekte dauerhaft gelöscht. \nDiese Aktion kann nicht rückgängig gemacht werden. \nSind Sie sicher, dass Sie fortfahren möchten?",
"project_delete_title": "Bestätigen Sie die Projektlöschung",
Expand Down
17 changes: 17 additions & 0 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,12 @@
"close": "Close",
"code_not_present": "Code not present",
"code_not_reachable": "Code not reachable",
"collectionLogic": "Project Collection Logic",
"collection_logic_changed": "Project Collection Logic Changed",
"collection_logic_metrics_by_aggregate_direct_children": "Metrics of collection project are calculated by aggregating numbers of all direct children.",
"collection_logic_metrics_by_aggregate_direct_children_with_tags": "Metrics of collection project are calculated by aggregating numbers of direct children with tag '{tag}'.",
"collection_logic_metrics_by_aggregate_latest_version": "Metrics of collection project are calculated by aggregating numbers of latest versions of direct children.",
"collection_projects": "Collection Projects",
"comment": "Comment",
"comments": "Comments",
"component": "Component",
Expand All @@ -374,9 +380,11 @@
"component_container": "Container",
"component_cpe_desc": "The CPE v2.2 or v2.3 URI as provided by MITRE or NIST. All assets (applications, operating systems, and hardware) should have a CPE specified",
"component_created": "Component created",
"component_data": "Data",
"component_deleted": "Component deleted",
"component_details": "Component Details",
"component_device": "Device",
"component_device_driver": "Device Driver",
"component_file": "File",
"component_filename_desc": "Specifies the observed filename of the component",
"component_firmware": "Firmware",
Expand All @@ -388,11 +396,14 @@
"component_library": "Library",
"component_license_expression_desc": "Specifies license information for the component in the form of an SPDX expression",
"component_license_url_desc": "Specifies the URL to the license of the component",
"component_machine_learning_model": "Machine Learning Model",
"component_name": "Component name",
"component_name_desc": "The name of the component as provided by the supplier",
"component_namespace_group_vendor": "Namespace / group / vendor",
"component_none_classifier": "None",
"component_operating_system": "Operating system",
"component_package_url_desc": "A Valid Package URL is required for libraries and frameworks. PURL syntax: pkg:type/namespace/name@version?qualifiers#subpath",
"component_platform": "Platform",
"component_properties": "Component Properties",
"component_search": "Component Search",
"component_spdx_license_desc": "Specifies the SPDX license ID of the component",
Expand Down Expand Up @@ -711,7 +722,13 @@
"portfolio_vulnerabilities": "Portfolio Vulnerabilities",
"profile_update": "Update Profile",
"profile_updated": "Profile updated",
"project_add_collection_tag": "Aggregate data of children with this tag",
"project_cloning_in_progress": "The project is being created with the cloning options specified",
"project_collection_logic_aggregate_direct_children": "Aggregate direct children",
"project_collection_logic_aggregate_direct_children_with_tag": "Aggregate direct children with tag",
"project_collection_logic_desc": "Specifies if this project is a collection project and which metrics calculation logic to apply for a collection project. Collection projects do not have own components but display data of their children using one of the available logics.",
"project_collection_logic_latest_version_children": "Aggregate direct children marked as latest",
"project_collection_logic_none": "None",
"project_created": "Project created",
"project_delete_message": "Deleting this project will also permanently delete all associated child projects. This action cannot be undone. Are you sure you want to proceed?",
"project_delete_title": "Confirm Project Deletion",
Expand Down
17 changes: 17 additions & 0 deletions src/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,12 @@
"close": "Cerrar",
"code_not_present": "Código no presente",
"code_not_reachable": "Código no accesible",
"collectionLogic": "Lógica de recopilación de proyectos",
"collection_logic_changed": "Lógica de colección de proyectos cambiada",
"collection_logic_metrics_by_aggregate_direct_children": "Las métricas del proyecto de recopilación se calculan sumando los números de todos los hijos directos.",
"collection_logic_metrics_by_aggregate_direct_children_with_tags": "Las métricas del proyecto de recopilación se calculan agregando números de hijos directos con la etiqueta '{tag}'.",
"collection_logic_metrics_by_aggregate_latest_version": "Las métricas del proyecto de recopilación se calculan agregando números de las últimas versiones de los hijos directos.",
"collection_projects": "Proyectos de colección",
"comment": "Comentario",
"comments": "Comentarios",
"component": "Componente",
Expand All @@ -374,9 +380,11 @@
"component_container": "Contenedor",
"component_cpe_desc": "El URI de CPE v2.2 o v2.3 proporcionado por MITRE o NIST. Todos los activos (aplicaciones, sistemas operativos y hardware) deben tener un CPE especificado.",
"component_created": "Componente creado",
"component_data": "Datos",
"component_deleted": "Componente eliminado",
"component_details": "Detalles del componente",
"component_device": "Dispositivo",
"component_device_driver": "Controlador de dispositivo",
"component_file": "Archivo",
"component_filename_desc": "Especifica el nombre de archivo observado del componente.",
"component_firmware": "Firmware",
Expand All @@ -388,11 +396,14 @@
"component_library": "Biblioteca",
"component_license_expression_desc": "Especifica información de licencia para el componente en forma de expresión SPDX.",
"component_license_url_desc": "Especifica la URL de la licencia del componente.",
"component_machine_learning_model": "Modelo de aprendizaje automático",
"component_name": "Nombre del componente",
"component_name_desc": "El nombre del componente proporcionado por el proveedor.",
"component_namespace_group_vendor": "Espacio de nombres/grupo/proveedor",
"component_none_classifier": "Ninguno",
"component_operating_system": "Sistema operativo",
"component_package_url_desc": "Se requiere una URL de paquete válida para bibliotecas y marcos. Sintaxis PURL: paquete:tipo/espacio de nombres/nombre@versión?calificadores#subruta",
"component_platform": "Plataforma",
"component_properties": "Propiedades de los componentes",
"component_search": "Búsqueda de componentes",
"component_spdx_license_desc": "Especifica el ID de licencia SPDX del componente.",
Expand Down Expand Up @@ -711,7 +722,13 @@
"portfolio_vulnerabilities": "Vulnerabilidades de la cartera",
"profile_update": "Actualización del perfil",
"profile_updated": "Perfil actualizado",
"project_add_collection_tag": "Datos agregados de niños con esta etiqueta",
"project_cloning_in_progress": "El proyecto se está creando con las opciones de clonación especificadas.",
"project_collection_logic_aggregate_direct_children": "Hijos directos agregados",
"project_collection_logic_aggregate_direct_children_with_tag": "Agregar hijos directos con etiqueta",
"project_collection_logic_desc": "Especifica si este proyecto es un proyecto de recopilación y qué lógica de cálculo de métricas se aplicará para un proyecto de recopilación. \nLos proyectos de colección no tienen componentes propios pero muestran datos de sus hijos usando una de las lógicas disponibles.",
"project_collection_logic_latest_version_children": "Hijos directos agregados marcados como más recientes",
"project_collection_logic_none": "Ninguno",
"project_created": "Proyecto creado",
"project_delete_message": "Al eliminar este proyecto, también se eliminarán permanentemente todos los proyectos secundarios asociados. \nEsta acción no se puede deshacer. \n¿Estás seguro de que quieres continuar?",
"project_delete_title": "Confirmar la eliminación del proyecto",
Expand Down
17 changes: 17 additions & 0 deletions src/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,12 @@
"close": "Fermer",
"code_not_present": "Code non présent",
"code_not_reachable": "Code inaccessible",
"collectionLogic": "Logique de collecte de projets",
"collection_logic_changed": "La logique de collecte du projet a été modifiée",
"collection_logic_metrics_by_aggregate_direct_children": "Les mesures du projet de collecte sont calculées en agrégeant le nombre de tous les enfants directs.",
"collection_logic_metrics_by_aggregate_direct_children_with_tags": "Les métriques du projet de collection sont calculées en agrégeant le nombre d'enfants directs avec la balise « {tag} ».",
"collection_logic_metrics_by_aggregate_latest_version": "Les mesures du projet de collection sont calculées en agrégeant le nombre des dernières versions des enfants directs.",
"collection_projects": "Projets de collecte",
"comment": "Commentaire",
"comments": "Commentaires",
"component": "Composant",
Expand All @@ -374,9 +380,11 @@
"component_container": "Conteneur",
"component_cpe_desc": "L'URI CPE v2.2 ou v2.3 tel que fourni par MITRE ou NIST. Tous les actifs (applications, systèmes d'exploitation et matériels) doivent avoir un CPE spécifié",
"component_created": "Composant créé",
"component_data": "Données",
"component_deleted": "Composant supprimé",
"component_details": "Détails des composants",
"component_device": "Équipement",
"component_device_driver": "Pilote de périphérique",
"component_file": "Fichier",
"component_filename_desc": "Spécifie le nom de fichier observé du composant",
"component_firmware": "Microprogramme",
Expand All @@ -388,11 +396,14 @@
"component_library": "Bibliothèque",
"component_license_expression_desc": "Spécifie les informations de licence pour le composant sous la forme d'une expression SPDX",
"component_license_url_desc": "Spécifie l'URL de la licence du composant",
"component_machine_learning_model": "Modèle d'apprentissage automatique",
"component_name": "Nom du composant",
"component_name_desc": "Le nom du composant tel que fourni par le fournisseur",
"component_namespace_group_vendor": "Espace de noms/groupe/fournisseur",
"component_none_classifier": "Aucun",
"component_operating_system": "Système d'exploitation",
"component_package_url_desc": "Une PackageURL valide est requise pour les bibliothèques et les frameworks. Syntaxe PURL : pkg:type/namespace/name@version?qualifiers#subpath",
"component_platform": "Plate-forme",
"component_properties": "Propriétés des composants",
"component_search": "Recherche de composants",
"component_spdx_license_desc": "Spécifie l'ID de licence SPDX du composant",
Expand Down Expand Up @@ -711,7 +722,13 @@
"portfolio_vulnerabilities": "Vulnérabilités du portefolio",
"profile_update": "Mettre à jour le profil",
"profile_updated": "Profil mis à jour",
"project_add_collection_tag": "Agréger les données des enfants avec cette balise",
"project_cloning_in_progress": "Le projet est en cours de création avec les options de clonage spécifiées",
"project_collection_logic_aggregate_direct_children": "Agréger les enfants directs",
"project_collection_logic_aggregate_direct_children_with_tag": "Agréger les enfants directs avec la balise",
"project_collection_logic_desc": "Spécifie si ce projet est un projet de collection et quelle logique de calcul de métriques appliquer pour un projet de collection. \nLes projets de collection n'ont pas de composants propres mais affichent les données de leurs enfants en utilisant l'une des logiques disponibles.",
"project_collection_logic_latest_version_children": "Agréger les enfants directs marqués comme les plus récents",
"project_collection_logic_none": "Aucun",
"project_created": "Projet créé",
"project_delete_message": "La suppression de ce projet supprimera également définitivement tous les projets enfants associés. \nCette action ne peut pas être annulée. \nÊtes-vous sûr de vouloir continuer ?",
"project_delete_title": "Confirmer la suppression du projet",
Expand Down
Loading

0 comments on commit 06e55a2

Please sign in to comment.