@hclsoftware/secagent
Version:
IAST agent
19 lines (15 loc) • 510 B
JavaScript
//IASTIGNORE
/*
* ****************************************************
* Licensed Materials - Property of HCL.
* (c) Copyright HCL Technologies Ltd. 2017, 2025.
* Note to U.S. Government Users *Restricted Rights.
* ****************************************************
*/
const SanitizeAllRule = require('./SanitizeAllRule')
class SanitizeAllForParamZero extends SanitizeAllRule {
shouldSanitize(hookValues){
return hookValues.args[0] === 0
}
}
module.exports = SanitizeAllForParamZero