Update comment
This commit is contained in:
parent
278a101f4f
commit
7e6cbf8e12
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
module.exports = it => {
|
||||
const fields = [
|
||||
{ label: 'Action taken', value: it.action?.toUpperCase() },
|
||||
{ label: 'ASN', value: `${it.clientAsn} (${it.clientASNDescription}) [${it.clientCountryName}]` },
|
||||
{ label: 'ASN', value: `${it.clientAsn} (${it.clientASNDescription})` },
|
||||
{ label: 'Protocol', value: `${it.clientRequestHTTPProtocol} (method ${it.clientRequestHTTPMethodName})` },
|
||||
{ label: 'Domain', value: it.clientRequestHTTPHost },
|
||||
{ label: 'Endpoint', value: it.clientRequestPath },
|
||||
|
|
@ -16,7 +16,7 @@ module.exports = it => {
|
|||
.filter(field => field.value)
|
||||
.map(field => `${field.label}: ${field.value}`);
|
||||
|
||||
return `Triggered Cloudflare WAF (${it.source}).
|
||||
return `Triggered Cloudflare WAF (${it.source}) from ${it.clientCountryName}.
|
||||
${reportLines.join('\n')}
|
||||
|
||||
Report generated by Node-Cloudflare-WAF-AbuseIPDB https://github.com/sefinek24/Node-Cloudflare-WAF-AbuseIPDB`;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue