MCPcopy Create free account
hub / github.com/chartbrew/chartbrew / incrementSecurityCounter

Function incrementSecurityCounter

server/modules/outboundSecurityAudit.js:7–13  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

5};
6
7function incrementSecurityCounter(name) {
8 if (!Object.prototype.hasOwnProperty.call(counters, name)) {
9 counters[name] = 0;
10 }
11
12 counters[name] += 1;
13}
14
15function getSecurityCounters() {
16 return { ...counters };

Callers 2

createPolicyErrorFunction · 0.85
validateOutboundUrlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected