SIWECOS / HSHS-DOMXSS-Scanner

MIT License
3 stars 1 forks source link

HSHS hasError properties #39

Closed Lednerb closed 6 years ago

Lednerb commented 6 years ago

When an HSHS scan is done and no error getting the site's headers occurred, the global hasError is set to false.

If there is an Error at a specific test, for example, the CSPRating, the test's hasError is set to true.

Should the global hasError also set to true if one of the included ratings/tests get an error or is the global one reserved for bigger problems?

What do you think @SniperSister @Weegy @Skeeve ?

Skeeve commented 6 years ago

Let's discuss this in our next meeting.

Lednerb commented 6 years ago

global hasError if at least one test hasError: true