@@ -43,8 +43,7 @@ import {
4343 IAC_SCAN_RESULT ,
4444 IAC_SCAN_RESULT_OUTPUT_KEY ,
4545 IAC_TYPE_CONFIG_KEY ,
46- IAC_VERSION_CONFIG_KEY ,
47- IGONRE_VIOLATIONS_CONFIG_KEY ,
46+ IGNORE_VIOLATIONS_CONFIG_KEY ,
4847 MAX_SCAN_TIMEOUT ,
4948 MIN_SCAN_TIMEOUT ,
5049 ORGANIZATION_ID_CONFIG_KEY ,
@@ -64,7 +63,6 @@ async function run(): Promise<void> {
6463 const organizationID = getInput ( ORGANIZATION_ID_CONFIG_KEY , { required : true } ) ;
6564 const scanFileRef = getInput ( SCAN_FILE_REF_CONFIG_KEY , { required : true } ) ;
6665 const iacType = getInput ( IAC_TYPE_CONFIG_KEY , { required : true } ) ;
67- const iacVersion = getInput ( IAC_VERSION_CONFIG_KEY , { required : true } ) ;
6866 const scanTimeoutInput = getInput ( SCAN_TIMEOUT_CONFIG_KEY ) ;
6967 const scanTimeoutMs = parseDuration ( scanTimeoutInput ) * 1000 || DEFAULT_SCAN_TIMEOUT ;
7068 if (
@@ -76,7 +74,7 @@ async function run(): Promise<void> {
7674 ) ;
7775 }
7876 const ignoreViolations = parseBoolean (
79- getInput ( IGONRE_VIOLATIONS_CONFIG_KEY ) ,
77+ getInput ( IGNORE_VIOLATIONS_CONFIG_KEY ) ,
8078 DEFAULT_IGNORE_VIOLATIONS ,
8179 ) ;
8280 const failureCriteria = validateAndParseFailureCriteria ( getInput ( FAILURE_CRITERIA_CONFIG_KEY ) ) ;
@@ -85,9 +83,7 @@ async function run(): Promise<void> {
8583 throw new Error ( `IAC type: ${ iacType } not supported` ) ;
8684 }
8785 const planFile : string = await fs . readFile ( scanFileRef , 'utf-8' ) ;
88- logInfo (
89- `Successfullly read IaC file from: ${ scanFileRef } , IaC type: ${ iacType } , IaC version: ${ iacVersion } ` ,
90- ) ;
86+ logInfo ( `Successfully read IaC file from: ${ scanFileRef } , IaC type: ${ iacType } ` ) ;
9187
9288 const scanStartTime = new Date ( ) . getTime ( ) ;
9389 const accessor = new IACAccessor (
@@ -99,7 +95,7 @@ async function run(): Promise<void> {
9995 ) ;
10096 logInfo ( `Fetching violations for IaC file` ) ;
10197 const violations : Violation [ ] = await accessor . scan ( planFile ) ;
102- logDebug ( `Violations fetched from IaC scan API's ` ) ;
98+ logDebug ( `Violations fetched from IaC scan APIs ` ) ;
10399
104100 const sarifReportGenerator : SarifReportGenerator = new SarifReportGenerator ( version ) ;
105101 logInfo ( 'Processing report generation for violations fetched' ) ;
0 commit comments