Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
simar7 committed Jul 9, 2024
1 parent 102c8a1 commit 1aa1577
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 182 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: test

test:
BATS_LIB_PATH=/usr/local/lib/ bats -r .
BATS_LIB_PATH=/usr/local/lib/ bats --recurisve --timing --verbose-run .
14 changes: 4 additions & 10 deletions test/data/config-sarif-report/report.sarif
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
"text": "S3 buckets should each define an aws_s3_bucket_public_access_block"
},
"fullDescription": {
"text": "The \u0026#34;block public access\u0026#34; settings in S3 override individual policies that apply to a given bucket, meaning that all public access can be controlled in one central types for that bucket. It is therefore good practice to define these settings for each bucket in order to clearly define the public access that can be allowed for it."
"text": "The "block public access" settings in S3 override individual policies that apply to a given bucket, meaning that all public access can be controlled in one central types for that bucket. It is therefore good practice to define these settings for each bucket in order to clearly define the public access that can be allowed for it."
},
"defaultConfiguration": {
"level": "note"
Expand Down Expand Up @@ -252,8 +252,7 @@
]
}
}
],
"version": "0.50.0"
]
}
},
"results": [
Expand Down Expand Up @@ -501,12 +500,7 @@
]
}
],
"columnKind": "utf16CodeUnits",
"originalUriBaseIds": {
"ROOTPATH": {
"uri": "file://D:\\projects\\trivy-action\\test\\data\\config-sarif-report/"
}
}
"columnKind": "utf16CodeUnits"
}
]
}
}
1 change: 0 additions & 1 deletion test/data/config-scan/report.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"SchemaVersion": 2,
"CreatedAt": "2024-04-12T16:53:35.5567541+03:00",
"ArtifactName": "test/data/config-scan",
"ArtifactType": "filesystem",
"Metadata": {
Expand Down
Loading

0 comments on commit 1aa1577

Please sign in to comment.