@@ -209,7 +209,7 @@ const main = async () => {
209
209
}
210
210
211
211
const ignoredCounts = countIgnoredFindings ( ignoredFindings )
212
- const findings_details = findings . imageScanFindings . findings || [ ]
212
+ const findingsDetails = findings . imageScanFindings . findings || [ ]
213
213
const counts = findings . imageScanFindings . findingSeverityCounts
214
214
const critical = counts . CRITICAL || 0
215
215
const high = counts . HIGH || 0
@@ -219,7 +219,7 @@ const main = async () => {
219
219
const indeterminate = counts . UNDEFINED || 0
220
220
const ignored = ignoredFindings . length
221
221
const total = critical + high + medium + low + informational + indeterminate
222
- core . setOutput ( 'findings_details ' , findings_details . toString ( ) )
222
+ core . setOutput ( 'findingsDetails ' , findingsDetails . toString ( ) )
223
223
core . setOutput ( 'critical' , critical . toString ( ) )
224
224
core . setOutput ( 'high' , high . toString ( ) )
225
225
core . setOutput ( 'medium' , medium . toString ( ) )
@@ -229,12 +229,12 @@ const main = async () => {
229
229
core . setOutput ( 'ignored' , ignored . toString ( ) )
230
230
core . setOutput ( 'total' , total . toString ( ) )
231
231
core . startGroup ( 'Findings' )
232
- findings_details . forEach ( ( finding_detail , index ) => {
233
- let finding_attributes = [ ]
234
- finding_detail . attributes . forEach ( ( attribute ) => {
235
- finding_attributes . push ( `${ attribute . key } =${ attribute . value } ` )
232
+ findingsDetails . forEach ( ( findingDetail , index ) => {
233
+ let findingAttributes = [ ]
234
+ findingDetail . attributes . forEach ( ( attribute ) => {
235
+ findingAttributes . push ( `${ attribute . key } =${ attribute . value } ` )
236
236
} )
237
- console . log ( `${ index + 1 } . ${ finding_detail . name } (${ finding_detail . severity } ) ${ finding_attributes . join ( " " ) } ` )
237
+ console . log ( `${ index + 1 } . ${ findingDetail . name } (${ findingDetail . severity } ) ${ findingAttributes . join ( " " ) } ` )
238
238
} )
239
239
core . endGroup ( )
240
240
console . log ( 'Vulnerabilities found:' )
0 commit comments