fixed icons size

This commit is contained in:
gabryon99 2021-05-04 10:39:38 +02:00
parent 994afbaf52
commit e455fbbeca
111 changed files with 122 additions and 122 deletions

View file

@ -23,7 +23,7 @@ local alert_blacklisted_country = classes.class(alert)
alert_blacklisted_country.meta = {
alert_key = flow_alert_keys.flow_alert_blacklisted_country,
i18n_title = "alerts_dashboard.blacklisted_country",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
has_victim = true,
has_attacker = true,

View file

@ -22,7 +22,7 @@ local alert_connection_issues = classes.class(alert)
alert_connection_issues.meta = {
alert_key = flow_alert_keys.flow_alert_tcp_connection_issues,
i18n_title = "alerts_dashboard.connection_issues",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -19,7 +19,7 @@ local alert_data_exfiltration = classes.class(alert)
alert_data_exfiltration.meta = {
alert_key = flow_alert_keys.flow_alert_data_exfiltration,
i18n_title = "flow_details.data_exfiltration",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
status_keep_increasing_scores = true, -- Keep increasing the score so the longer the flow, the higher the score
}

View file

@ -21,7 +21,7 @@ local alert_device_protocol_not_allowed = classes.class(alert)
alert_device_protocol_not_allowed.meta = {
alert_key = flow_alert_keys.flow_alert_device_protocol_not_allowed,
i18n_title = "alerts_dashboard.suspicious_device_protocol",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
has_victim = true,
has_attacker = true,
}

View file

@ -19,7 +19,7 @@ local alert_dns_data_exfiltration = classes.class(alert)
alert_dns_data_exfiltration.meta = {
alert_key = flow_alert_keys.flow_alert_dns_data_exfiltration,
i18n_title = "flow_details.dns_data_exfiltration",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -19,7 +19,7 @@ local alert_dns_invalid_query = classes.class(alert)
alert_dns_invalid_query.meta = {
alert_key = flow_alert_keys.flow_alert_dns_invalid_query,
i18n_title = "flow_details.dns_invalid_query",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -22,7 +22,7 @@ local alert_elephant_flow = classes.class(alert)
alert_elephant_flow.meta = {
alert_key = flow_alert_keys.flow_alert_elephant_flow,
i18n_title = "flow_details.elephant_flow",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- #######################################################

View file

@ -17,7 +17,7 @@ local external_alert = classes.class(alert)
external_alert.meta = {
alert_key = flow_alert_keys.flow_alert_external,
i18n_title = "alerts_dashboard.external_alert",
icon = "fas fa-eye",
icon = "fas fa-fw fa-eye",
status_keep_increasing_scores = true, -- Every time an external alert is set, scores are increased accordingly
}

View file

@ -21,7 +21,7 @@ local alert_flow_blacklisted = classes.class(alert)
alert_flow_blacklisted.meta = {
alert_key = flow_alert_keys.flow_alert_blacklisted,
i18n_title = "alerts_dashboard.blacklisted_flow",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
has_victim = true,
has_attacker = true,
}

View file

@ -19,7 +19,7 @@ local alert_flow_blocked = classes.class(alert)
alert_flow_blocked.meta = {
alert_key = flow_alert_keys.flow_alert_flow_blocked,
i18n_title = "flow_details.flow_blocked_by_bridge",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -22,7 +22,7 @@ local alert_flow_low_goodput = classes.class(alert)
alert_flow_low_goodput.meta = {
alert_key = flow_alert_keys.flow_alert_low_goodput,
i18n_title = "alerts_dashboard.flow_low_goodput",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -22,7 +22,7 @@ local alert_flow_risk = classes.class(alert)
alert_flow_risk.meta = {
alert_key = flow_alert_keys.flow_alert_flow_risk,
i18n_title = "alerts_dashboard.flow_risk",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -19,7 +19,7 @@ local alert_tcp_no_data_exchanged = classes.class(alert)
alert_tcp_no_data_exchanged.meta = {
alert_key = flow_alert_keys.flow_alert_tcp_no_data_exchanged,
i18n_title = "flow_alerts_explorer.alert_tcp_no_data_exchanged_title",
icon = "fas fa-arrow-circle-up",
icon = "fas fa-fw fa-arrow-circle-up",
}
-- ##############################################

View file

@ -22,7 +22,7 @@ local alert_iec_invalid_transition = classes.class(alert)
alert_iec_invalid_transition.meta = {
alert_key = flow_alert_keys.flow_alert_iec_invalid_transition,
i18n_title = "alerts_dashboard.iec_invalid_transition",
icon = "fas fa-subway",
icon = "fas fa-fw fa-subway",
}
-- ##############################################

View file

@ -22,7 +22,7 @@ local alert_iec_unexpected_type_id = classes.class(alert)
alert_iec_unexpected_type_id.meta = {
alert_key = flow_alert_keys.flow_alert_iec_unexpected_type_id,
i18n_title = "alerts_dashboard.iec_unexpected_type_id",
icon = "fas fa-subway",
icon = "fas fa-fw fa-subway",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_internals = classes.class(alert)
alert_internals.meta = {
alert_key = flow_alert_keys.flow_alert_internals,
i18n_title = "flow_details.not_purged",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -21,7 +21,7 @@ local alert_known_proto_on_non_std_port = classes.class(alert)
alert_known_proto_on_non_std_port.meta = {
alert_key = flow_alert_keys.flow_alert_known_proto_on_non_std_port,
i18n_title = "alerts_dashboard.known_proto_on_non_std_port",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -19,7 +19,7 @@ local alert_longlived = classes.class(alert)
alert_longlived.meta = {
alert_key = flow_alert_keys.flow_alert_longlived,
i18n_title = "flow_details.longlived_flow",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################
@ -51,7 +51,7 @@ function alert_longlived.format(ifid, alert, alert_type_params)
threshold = alert_type_params["longlived.threshold"]
end
res = string.format("%s<sup><i class='fas fa-info-circle' aria-hidden='true' title='"..i18n("flow_details.longlived_flow_descr").."'></i></sup>", res)
res = string.format("%s<sup><i class='fas fa-fw fa-info-circle' aria-hidden='true' title='"..i18n("flow_details.longlived_flow_descr").."'></i></sup>", res)
if threshold ~= "" then
res = string.format("%s [%s]", res, i18n("flow_details.longlived_exceeded", {amount = secondsToTime(threshold)}))

View file

@ -19,7 +19,7 @@ local alert_malicious_signature = classes.class(alert)
alert_malicious_signature.meta = {
alert_key = flow_alert_keys.flow_alert_malicious_signature,
i18n_title = "flow_risk.malicious_signature_detected",
icon = "fas fa-ban",
icon = "fas fa-fw fa-ban",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_ndpi_dns_suspicious_traffic = classes.class(alert)
alert_ndpi_dns_suspicious_traffic.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_dns_suspicious_traffic,
i18n_title = "alerts_dashboard.ndpi_dns_suspicious_traffic_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_ndpi_http_numeric_ip_host = classes.class(alert)
alert_ndpi_http_numeric_ip_host.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_http_numeric_ip_host,
i18n_title = "alerts_dashboard.ndpi_http_numeric_ip_host_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_ndpi_http_suspicious_header = classes.class(alert)
alert_ndpi_http_suspicious_header.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_http_suspicious_header,
i18n_title = "alerts_dashboard.ndpi_http_suspicious_header_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_ndpi_http_suspicious_url = classes.class(alert)
alert_ndpi_http_suspicious_url.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_http_suspicious_url,
i18n_title = "alerts_dashboard.ndpi_http_suspicious_url_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_ndpi_http_suspicious_user_agent = classes.class(alert)
alert_ndpi_http_suspicious_user_agent.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_http_suspicious_user_agent,
i18n_title = "alerts_dashboard.ndpi_http_suspicious_user_agent_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_ndpi_malformed_packet = classes.class(alert)
alert_ndpi_malformed_packet.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_malformed_packet,
i18n_title = "alerts_dashboard.ndpi_malformed_packet_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_ndpi_smb_insecure_version = classes.class(alert)
alert_ndpi_smb_insecure_version.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_smb_insecure_version,
i18n_title = "alerts_dashboard.ndpi_smb_insecure_version_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_ndpi_ssh_obsolete = classes.class(alert)
alert_ndpi_ssh_obsolete.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_ssh_obsolete,
i18n_title = "alerts_dashboard.ndpi_ssh_obsolete_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_ndpi_suspicious_dga_domain = classes.class(alert)
alert_ndpi_suspicious_dga_domain.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_suspicious_dga_domain,
i18n_title = "alerts_dashboard.ndpi_suspicious_dga_domain_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_ndpi_tls_missing_sni = classes.class(alert)
alert_ndpi_tls_missing_sni.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_tls_missing_sni,
i18n_title = "alerts_dashboard.ndpi_tls_missing_sni_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_ndpi_tls_not_carrying_https = classes.class(alert)
alert_ndpi_tls_not_carrying_https.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_tls_not_carrying_https,
i18n_title = "alerts_dashboard.ndpi_tls_not_carrying_https_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_ndpi_tls_suspicious_esni_usage = classes.class(alert)
alert_ndpi_tls_suspicious_esni_usage.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_tls_suspicious_esni_usage,
i18n_title = "alerts_dashboard.ndpi_tls_suspicious_esni_usage_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_ndpi_unsafe_protocol = classes.class(alert)
alert_ndpi_unsafe_protocol.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_unsafe_protocol,
i18n_title = "alerts_dashboard.ndpi_unsafe_protocol_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_ndpi_url_possible_rce_injection = classes.class(alert)
alert_ndpi_url_possible_rce_injection.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_url_possible_rce_injection,
i18n_title = "alerts_dashboard.ndpi_url_possible_rce_injection_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_ndpi_url_possible_sql_injection = classes.class(alert)
alert_ndpi_url_possible_sql_injection.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_url_possible_sql_injection,
i18n_title = "alerts_dashboard.ndpi_url_possible_sql_injection_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_ndpi_url_possible_xss = classes.class(alert)
alert_ndpi_url_possible_xss.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_url_possible_xss,
i18n_title = "alerts_dashboard.ndpi_url_possible_xss_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -19,7 +19,7 @@ local alert_potentially_dangerous_protocol = classes.class(alert)
alert_potentially_dangerous_protocol.meta = {
alert_key = flow_alert_keys.flow_alert_potentially_dangerous,
i18n_title = "flow_details.potentially_dangerous_protocol",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -20,7 +20,7 @@ local alert_remote_access = classes.class(alert)
alert_remote_access.meta = {
alert_key = flow_alert_keys.flow_alert_remote_access,
i18n_title = "alerts_dashboard.remote_access_title",
icon = "fas fa-info",
icon = "fas fa-fw fa-info",
}
-- ##############################################

View file

@ -23,7 +23,7 @@ local alert_remote_to_local_insecure_proto = classes.class(alert)
alert_remote_to_local_insecure_proto.meta = {
alert_key = flow_alert_keys.flow_alert_remote_to_local_insecure_proto,
i18n_title = "alerts_dashboard.remote_to_local_insecure_proto",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -23,7 +23,7 @@ local alert_remote_to_remote = classes.class(alert)
alert_remote_to_remote.meta = {
alert_key = flow_alert_keys.flow_alert_remote_to_remote,
i18n_title = "alerts_dashboard.remote_to_remote",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -21,7 +21,7 @@ local alert_suspicious_file_transfer = classes.class(alert)
alert_suspicious_file_transfer.meta = {
alert_key = flow_alert_keys.flow_alert_suspicious_file_transfer,
i18n_title = "alerts_dashboard.suspicious_file_transfer",
icon = "fas fa-file-download",
icon = "fas fa-fw fa-file-download",
}
-- ##############################################
@ -51,9 +51,9 @@ function alert_suspicious_file_transfer.format(ifid, alert, alert_type_params)
local extn = alert_type_params["protos.http.last_url"]:sub(-4):lower()
if extn == ".php" or extn == ".js" or extn == ".html" or extn == ".xml" or extn == ".cgi" then
type_icon = '<i class="fas fa-file-code"></i>'
type_icon = '<i class="fas fa-fw fa-file-code"></i>'
elseif extn == ".png" or extn == ".jpg" then
type_icon = '<i class="fas fa-file-image"></i>'
type_icon = '<i class="fas fa-fw fa-file-image"></i>'
end
res = i18n("alerts_dashboard.suspicious_file_transfer_url",

View file

@ -19,7 +19,7 @@ local alert_tcp_connection_refused = classes.class(alert)
alert_tcp_connection_refused.meta = {
alert_key = flow_alert_keys.flow_alert_tcp_connection_refused,
i18n_title = "flow_callbacks_config.tcp_connection_refused",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -19,7 +19,7 @@ local alert_tls_certificate_expired = classes.class(alert)
alert_tls_certificate_expired.meta = {
alert_key = flow_alert_keys.flow_alert_tls_certificate_expired,
i18n_title = "flow_details.tls_certificate_expired",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -19,7 +19,7 @@ local alert_tls_certificate_mismatch = classes.class(alert)
alert_tls_certificate_mismatch.meta = {
alert_key = flow_alert_keys.flow_alert_tls_certificate_mismatch,
i18n_title = "flow_details.tls_certificate_mismatch",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -19,7 +19,7 @@ local alert_tls_certificate_selfsigned = classes.class(alert)
alert_tls_certificate_selfsigned.meta = {
alert_key = flow_alert_keys.flow_alert_tls_certificate_selfsigned,
i18n_title = "flow_details.tls_certificate_selfsigned",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -19,7 +19,7 @@ local alert_tls_old_protocol_version = classes.class(alert)
alert_tls_old_protocol_version.meta = {
alert_key = flow_alert_keys.flow_alert_tls_old_protocol_version,
i18n_title = "flow_details.tls_old_protocol_version",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -19,7 +19,7 @@ local alert_tls_unsafe_ciphers = classes.class(alert)
alert_tls_unsafe_ciphers.meta = {
alert_key = flow_alert_keys.flow_alert_tls_unsafe_ciphers,
i18n_title = "flow_details.tls_unsafe_ciphers",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################

View file

@ -21,7 +21,7 @@ local alert_udp_unidirectional = classes.class(alert)
alert_udp_unidirectional.meta = {
alert_key = flow_alert_keys.flow_alert_udp_unidirectional,
i18n_title = "flow_details.udp_unidirectional",
icon = "fas fa-info-circle",
icon = "fas fa-fw fa-info-circle",
}
-- ##############################################

View file

@ -19,7 +19,7 @@ local alert_unexpected_dhcp_server = classes.class(alert)
alert_unexpected_dhcp_server.meta = {
alert_key = flow_alert_keys.flow_alert_unexpected_dhcp_server,
i18n_title = "flow_alerts_explorer.alert_unexpected_dhcp_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
has_victim = true,
has_attacker = true,
}

View file

@ -19,7 +19,7 @@ local alert_unexpected_dns_server = classes.class(alert)
alert_unexpected_dns_server.meta = {
alert_key = flow_alert_keys.flow_alert_unexpected_dns_server,
i18n_title = "flow_alerts_explorer.alert_unexpected_dns_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
has_victim = true,
has_attacker = true,
}

View file

@ -19,7 +19,7 @@ local alert_unexpected_ntp_server = classes.class(alert)
alert_unexpected_ntp_server.meta = {
alert_key = flow_alert_keys.flow_alert_unexpected_ntp_server,
i18n_title = "flow_alerts_explorer.alert_unexpected_ntp_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
has_victim = true,
has_attacker = true,
}

View file

@ -19,7 +19,7 @@ local alert_unexpected_smtp_server = classes.class(alert)
alert_unexpected_smtp_server.meta = {
alert_key = flow_alert_keys.flow_alert_unexpected_smtp_server,
i18n_title = "flow_alerts_explorer.alert_unexpected_smtp_title",
icon = "fas fa-exclamation",
icon = "fas fa-fw fa-exclamation",
has_victim = true,
has_attacker = true,
}

View file

@ -19,7 +19,7 @@ local alert_zero_tcp_window = classes.class(alert)
alert_zero_tcp_window.meta = {
alert_key = flow_alert_keys.flow_alert_zero_tcp_window,
i18n_title = "flow_alerts_explorer.zero_tcp_window_title",
icon = "fas fa-arrow-circle-up",
icon = "fas fa-fw fa-arrow-circle-up",
}
-- ##############################################