Skip to content

Commit b9b3730

Browse files
Tyler Titsworthpre-commit-ci[bot]
Tyler Titsworth
andauthored
Add Security Report Handling (#212)
Signed-off-by: tylertitsworth <tyler.titsworth@intel.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent e47a2d5 commit b9b3730

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Copyright (c) 2024 Intel Corporation
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# This workflow uses actions that are not certified by GitHub. They are provided
16+
# by a third-party and are governed by separate terms of service, privacy
17+
# policy, and support documentation.
18+
19+
name: Security Report
20+
on:
21+
push:
22+
tags: ['**']
23+
workflow_dispatch: null
24+
permissions: read-all
25+
jobs:
26+
report:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Harden Runner
30+
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
31+
with:
32+
egress-policy: audit
33+
- uses: rsdmike/github-security-report-action@a149b24539044c92786ec39af8ba38c93496495d # v3.0.4
34+
with:
35+
sarifReportDir: ${{ github.workspace }}
36+
template: report
37+
token: ${{ secrets.GITHUB_TOKEN }}
38+
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
39+
with:
40+
name: Security Report Summary
41+
path: ./*.pdf

0 commit comments

Comments
 (0)