Update generateComment.js

This commit is contained in:
Sefinek 2024-11-13 08:05:50 +01:00
parent d516f2261a
commit b1aad0b9c8

View file

@ -2,7 +2,7 @@ module.exports = ({ action, clientAsn, clientASNDescription, clientRequestHTTPPr
const fields = [ const fields = [
{ label: 'Action taken', value: action?.toUpperCase() }, { label: 'Action taken', value: action?.toUpperCase() },
{ label: 'ASN', value: `${clientAsn} (${clientASNDescription})` }, { label: 'ASN', value: `${clientAsn} (${clientASNDescription})` },
{ label: 'Protocol', value: `${clientRequestHTTPProtocol} (method ${clientRequestHTTPMethodName})` }, { label: 'Protocol', value: `${clientRequestHTTPProtocol} (${clientRequestHTTPMethodName} method)` },
{ label: 'Domain', value: clientRequestHTTPHost }, { label: 'Domain', value: clientRequestHTTPHost },
{ label: 'Endpoint', value: clientRequestPath }, { label: 'Endpoint', value: clientRequestPath },
{ label: 'Query', value: clientRequestQuery }, { label: 'Query', value: clientRequestQuery },