NetResponsibility

struct BlacklistMatch

Library: Net Responsibility
Package: Core
Header: Blacklist.h

Description

If the filter catches a match, in other words a suspicious URL, it's stored inside a BlacklistMatch. Here we have all the important information related to the match.

Variables

abbrUrl

string abbrUrl;

The same as boldUrl, but abbreviated to be easier to read and save some space.

boldUrl

string boldUrl;

The URL with every suspicious word in bold.

keyword

vector < BlacklistKeyword > keyword;

The keywords that are found in the URL.

strength

int strength;

The total strength of the match. This is displayed in the reports if this strength is lower than reportStrengthThreshold.

whitelist

bool whitelist;

This bool is set to true if it is a whitelist match. In that case it will show up in the whitelist section of the report.