@hclsoftware/secagent
Version:
IAST agent
19 lines (16 loc) • 557 B
JavaScript
//IASTIGNORE
/*
* ****************************************************
* Licensed Materials - Property of HCL.
* (c) Copyright HCL Technologies Ltd. 2017, 2025.
* Note to U.S. Government Users *Restricted Rights.
* ****************************************************
*/
const SanitizeAllUponRetRule = require('./SanitizeAllRule')
class SanitizeAllForFalseRetRule extends SanitizeAllUponRetRule {
// abstact-like method
shouldSanitize (hookValues) {
return !hookValues.ret
}
}
module.exports = SanitizeAllForFalseRetRule