Package io.codemodder.remediation.xxe
Interface XXEIntermediateXMLStreamReaderRemediator
public interface XXEIntermediateXMLStreamReaderRemediator
Strategy for remediating XXE vulnerabilities at an intermediate step in
XMLInputFactory.createXMLStreamReader(java.io.Reader)
.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final XXEIntermediateXMLStreamReaderRemediator
A default implementation for callers. -
Method Summary
Modifier and TypeMethodDescriptionremediateAll
(com.github.javaparser.ast.CompilationUnit cu, String path, io.codemodder.codetf.DetectorRule detectorRule, List<T> issuesForFile, Function<T, String> getKey, Function<T, Integer> getEndLine, Function<T, Integer> getStartColumn, Function<T, Integer> getEndColumn) Remediate all XXE vulnerabilities in the given compilation unit.
-
Field Details
-
DEFAULT
A default implementation for callers.
-
-
Method Details
-
remediateAll
<T> CodemodFileScanningResult remediateAll(com.github.javaparser.ast.CompilationUnit cu, String path, io.codemodder.codetf.DetectorRule detectorRule, List<T> issuesForFile, Function<T, String> getKey, Function<T, Integer> getEndLine, Function<T, Integer> getStartColumn, Function<T, Integer> getEndColumn) Remediate all XXE vulnerabilities in the given compilation unit.
-