Skip to content

Commit

Permalink
Merge pull request deepfence#524 from deepfence/fix-missing-thretgrap…
Browse files Browse the repository at this point in the history
…h-icons

Add ThreatGraph missing icons
  • Loading branch information
manV authored Aug 10, 2022
2 parents 3dd6383 + 93ae54e commit 25858ae
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
130 changes: 130 additions & 0 deletions deepfence_ui/app/images/topology-icons/grayscale/Microsoft_Azure.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion deepfence_ui/app/scripts/components/attack-graph/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ import AzureStorageAccounts from '../../../images/attack-graph-icons/graph-node-
import AzureMysqlServer from '../../../images/attack-graph-icons/graph-node-icons/10122-icon-service-Azure-Database-MySQL-Server.svg';
import GCPComputEngine from '../../../images/attack-graph-icons/graph-node-icons/gcp_compute_engine.svg';
import GCPCloudStorage from '../../../images/attack-graph-icons/graph-node-icons/gcp_cloud_storage.svg';
import GCPCloudSQL from '../../../images/attack-graph-icons/graph-node-icons/gcp_cloud_sql.svg';
import GCPCloudFunctions from '../../../images/attack-graph-icons/graph-node-icons/gcp_cloud_functions.svg';


const mapping = {
Expand Down Expand Up @@ -61,7 +63,9 @@ const mapping = {

// gcp
gcp_compute_instance: GCPComputEngine,
gcp_storage_bucket: GCPCloudStorage
gcp_storage_bucket: GCPCloudStorage,
gcp_sql_database_instance: GCPCloudSQL,
gcp_cloudfunctions_function: GCPCloudFunctions
};

export function getAssetIcon(id) {
Expand Down
3 changes: 3 additions & 0 deletions deepfence_ui/app/scripts/components/multi-cloud/node-icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ import verizon from '../../../images/topology-icons/grayscale/verizon Dark.svg';
import digitalocean from '../../../images/topology-icons/grayscale/digital-ocean-dark.svg';
import container from '../../../images/topology-icons/grayscale/container-dark.svg';
import kubernetes from '../../../images/topology-icons/grayscale/k8s-dark.svg';
import azure from '../../../images/topology-icons/grayscale/Microsoft_Azure.svg';


const allIcons = {
acm: waf,
Expand All @@ -144,6 +146,7 @@ const allIcons = {
alexa,
amazoncloudfront,
aws,
azure,
circle,
cloud,
clouddirectory,
Expand Down

0 comments on commit 25858ae

Please sign in to comment.