Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit 50a8b9d

Browse files
authored
Update README.md
1 parent fc28dd3 commit 50a8b9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This action works by utilizing Amazon Inspector to scan specified EC2 instances
2222

2323
Perform the following steps to quickly add this action to your GitHub Actions pipeline:
2424

25-
```
25+
```yaml
2626
name: Scan EC2 Instances with Amazon Inspector
2727
on: [push]
2828
jobs:
@@ -117,7 +117,7 @@ By default, this action only displays the number of vulnerabilities detected in
117117
118118
The below example shows how to enable action outputs in various locations and formats.
119119
120-
```
120+
```yaml
121121
- name: Scan EC2 instances
122122
id: inspector
123123
@@ -158,7 +158,7 @@ This action allows the user to set vulnerability thresholds.
158158
159159
Vulnerability thresholds can be used to support custom logic, such as failing the workflow if any vulnerabilities are found.
160160
161-
```
161+
```yaml
162162
- name: Invoke Amazon Inspector Scan
163163
id: inspector
164164

0 commit comments

Comments
 (0)