Class CfnNagProcessReports
java.lang.Object
com.hack23.sonar.cloudformation.reports.process.CfnNagProcessReports
The Class CfnNagProcessReports.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCfnNagProcessReports
(org.sonar.api.batch.fs.FileSystem fileSystem, org.sonar.api.scan.filesystem.PathResolver pathResolver) Instantiates a new cfn nag process reports. -
Method Summary
Modifier and TypeMethodDescriptionvoid
processCfnNagReport
(org.sonar.api.batch.sensor.SensorContext context, Optional<String> reportFilesProperty) Process cfn nag report.
-
Field Details
-
UNDEFINED_FAILURE
The Constant UNDEFINED_FAILURE.- See Also:
-
UNDEFINED_WARNING
The Constant UNDEFINED_WARNING.- See Also:
-
-
Constructor Details
-
CfnNagProcessReports
public CfnNagProcessReports(org.sonar.api.batch.fs.FileSystem fileSystem, org.sonar.api.scan.filesystem.PathResolver pathResolver) Instantiates a new cfn nag process reports.- Parameters:
fileSystem
- the file systempathResolver
- the path resolver
-
-
Method Details
-
processCfnNagReport
public void processCfnNagReport(org.sonar.api.batch.sensor.SensorContext context, Optional<String> reportFilesProperty) throws IOException Process cfn nag report.- Parameters:
context
- the contextreportFilesProperty
- the report files property- Throws:
IOException
- Signals that an I/O exception has occurred.
-