public class SecurityScanUtil extends Object
Constructor and Description |
---|
SecurityScanUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
contains(SubmitContext context,
String content,
String token,
boolean useRegEx) |
static List<String> |
getAllSecurityScanNames(boolean excludeCustomScript) |
static MutableTestPropertyHolder |
getGlobalSensitiveInformationExposureTokens() |
static RestParamsPropertyHolder |
getSoapRequestParams(AbstractHttpRequest<?> request) |
static XmlObjectTreeModel |
getXmlObjectTreeModel(TestStep testStep,
SecurityCheckedParameter scp) |
static Map<String,String> |
globalEntriesList() |
static Map<String,String> |
projectEntriesList(SensitiveInfoExposureAssertion sensitiveInfoExposureAssertion) |
static void |
saveGlobalSecuritySettings() |
static boolean |
scanIsApplicableForTestStep(TestStep testStep,
String scanName)
checks if scan is applicable for provided testStep
|
public static String contains(SubmitContext context, String content, String token, boolean useRegEx)
public static RestParamsPropertyHolder getSoapRequestParams(AbstractHttpRequest<?> request)
public static Map<String,String> projectEntriesList(SensitiveInfoExposureAssertion sensitiveInfoExposureAssertion)
public static XmlObjectTreeModel getXmlObjectTreeModel(TestStep testStep, SecurityCheckedParameter scp)
public static void saveGlobalSecuritySettings()
public static MutableTestPropertyHolder getGlobalSensitiveInformationExposureTokens()
public static boolean scanIsApplicableForTestStep(TestStep testStep, String scanName)
testStep
- scanName
- Copyright © 2019. All Rights Reserved.