Skip to content

Commit 6efcdf7

Browse files
authored
Security Policy, scanning and dependency updates (#176)
* Add dependabot configuration * Add codeql * Add security policy * Update dependabot.yml add newline * update branches
1 parent 571d41c commit 6efcdf7

File tree

3 files changed

+99
-0
lines changed

3 files changed

+99
-0
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
- package-ecosystem: "nuget"
9+
directory: "/"
10+
schedule:
11+
interval: "daily"

.github/workflows/codeql.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ "dev", "master", "main" ]
6+
pull_request:
7+
branches: [ "dev", "master", "main" ]
8+
schedule:
9+
- cron: '16 12 * * 6'
10+
11+
jobs:
12+
analyze:
13+
name: Analyze (${{ matrix.language }})
14+
# Runner size impacts CodeQL analysis time. To learn more, please see:
15+
# - https://gh.io/recommended-hardware-resources-for-running-codeql
16+
# - https://gh.io/supported-runners-and-hardware-resources
17+
# - https://gh.io/using-larger-runners
18+
# Consider using larger runners for possible analysis time improvements.
19+
runs-on: 'ubuntu-latest'
20+
timeout-minutes: 360
21+
permissions:
22+
# required for all workflows
23+
security-events: write
24+
# only required for workflows in private repositories
25+
actions: read
26+
contents: read
27+
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
include:
32+
- language: csharp
33+
build-mode: autobuild
34+
steps:
35+
- name: Checkout repository
36+
uses: actions/checkout@v4
37+
38+
# Initializes the CodeQL tools for scanning.
39+
- name: Initialize CodeQL
40+
uses: github/codeql-action/init@v3
41+
with:
42+
languages: ${{ matrix.language }}
43+
build-mode: ${{ matrix.build-mode }}
44+
45+
- name: Perform CodeQL Analysis
46+
uses: github/codeql-action/analyze@v3
47+
with:
48+
category: "/language:${{matrix.language}}"

SECURITY.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Security Policy
2+
3+
## Reporting a Vulnerability
4+
5+
If you discover a security vulnerability in this project, please follow these steps to report it:
6+
7+
1. **Do not** create a public GitHub issue for the vulnerability.
8+
2. Send an email to [[email protected]](mailto:[email protected]) with a detailed description of the vulnerability.
9+
3. Include any relevant information, such as steps to reproduce the vulnerability or proof-of-concept code.
10+
4. Provide your contact information so that we can follow up with you.
11+
12+
## Response Timeline
13+
14+
We will do our best to respond to your report in a timely manner. Here is an outline of our response process:
15+
16+
- We will acknowledge your report within 7 days.
17+
- Our team will investigate the reported vulnerability and determine its impact.
18+
- We will work on developing a fix for the vulnerability.
19+
- Once a fix is ready, we will release a security update.
20+
- We will publicly acknowledge your contribution if you choose to be credited.
21+
22+
## Supported Versions
23+
24+
This project is actively maintained and security updates will be provided for the following versions:
25+
26+
- Version 4.x.x (latest stable release)
27+
28+
If you are using an older version, we recommend upgrading to the latest stable release to benefit from the latest security fixes.
29+
30+
## Security Measures
31+
32+
We take security seriously and have implemented the following measures to protect our users:
33+
34+
- Regular code reviews and security audits.
35+
- Secure coding practices and adherence to industry best practices.
36+
- Continuous monitoring and vulnerability scanning of our systems.
37+
38+
## Contact
39+
40+
If you have any questions or concerns regarding the security of this project, please contact us at [[email protected]](mailto:[email protected]).

0 commit comments

Comments
 (0)