Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
8b99fa7
adding account ID support
Aug 29, 2022
4882747
Adding example
Aug 29, 2022
814bbd1
gh doc example
Aug 30, 2022
8288bc6
use avinash actions
Aug 30, 2022
495e675
comment out account
Aug 30, 2022
6eb3f64
testing examples
Sep 8, 2022
a3a4457
fixed control ID
Sep 8, 2022
7839800
fixed checkout
Sep 8, 2022
0ff7333
use single file
Sep 8, 2022
5d5b39c
Support non-root user
Sep 18, 2022
1b039bf
Merge branch 'moshe'
Sep 18, 2022
9fc3801
update junit
Sep 18, 2022
d77c2c6
update org name
Sep 18, 2022
d4478cd
adding "needs"
Sep 18, 2022
696d7fe
update working dir
Sep 18, 2022
69873fd
Run as root
Sep 18, 2022
84c015a
changed threshold
Sep 18, 2022
f551cdc
change to a single step
Sep 18, 2022
498f06c
update threshold
Sep 18, 2022
5bdd1a3
Merge remote-tracking branch 'armosec/main'
Sep 19, 2022
5b97921
cosmetic changes
Sep 19, 2022
c91b582
update example
Sep 19, 2022
75f3345
remove default failedThreshold
Sep 19, 2022
fcc6d48
update INPUT_FAILEDTHRESHOLD
Sep 19, 2022
63418e1
adding default failedThreshold to the workflow
Sep 19, 2022
999fd6a
remove failedThreshold from actions
Sep 22, 2022
4d64cd6
fixed typo
Sep 22, 2022
b05dea8
Merge remote-tracking branch 'armosec/main'
Sep 28, 2022
27e75d5
printing path
Sep 28, 2022
621a4e2
Gh workflows (#1)
Oct 3, 2022
f6be6ba
Merge branch 'main' of https://github.com/dwertent/github-action
Oct 3, 2022
b890b55
remove deps
Oct 3, 2022
eed97e2
adding push to command
Oct 3, 2022
9cfa7e9
update ks base image
Oct 3, 2022
ec13eb0
update org
Oct 3, 2022
f750088
feat: support the severity threshold input (#11)
vladklokun Oct 3, 2022
16de183
rename file
Oct 3, 2022
4261d0d
merged
Oct 3, 2022
bdb316f
Update action url
Oct 3, 2022
b9493ea
Update example github actions
Oct 27, 2022
e0368d1
made small change
Oct 27, 2022
db2fa71
chmod
Oct 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 10 additions & 18 deletions .github/workflows/example.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Kubescape scanning for misconfigurations
on:
release:
types: [released]
on: [push, pull_request]
jobs:
kubescape:
runs-on: ubuntu-latest
Expand All @@ -10,19 +8,13 @@ jobs:
- uses: kubescape/github-action@main
continue-on-error: true
with:
# Optional - Fail pipeline if at least one control has a severity that is at or above the specified severity threshold
severityThreshold: critical
# # Optional - Add Kubescape cloud account ID.
# account: ${{secrets.KUBESCAPE_ACCOUNT}}
# # Optional - Scan a specific path. Default will scan all
# files: "examples/*.yaml"
- name: Archive kubescape scan results
uses: actions/upload-artifact@v2
format: sarif
outputFile: results.sarif
# # Optional - Add Kubescape cloud account ID.
# account: ${{secrets.KUBESCAPE_ACCOUNT}}
# # Optional - Scan a specific path. Default will scan all
# files: "examples/*.yaml"
- name: Upload Kubescape scan results to Github Code Scanning
uses: github/codeql-action/upload-sarif@v2
with:
name: kubescape
path: results.xml
- name: Publish Unit Test Results
uses: mikepenz/action-junit-report@v3
if: always()
with:
report_paths: "*.xml"
sarif_file: results.sarif
1 change: 1 addition & 0 deletions examples/kubernetes-manifests/adservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.


apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down