forked from apache/hertzbeat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[doc] update security doc and some (apache#2856)
Signed-off-by: tomsun28 <[email protected]> Co-authored-by: aias00 <[email protected]>
- Loading branch information
Showing
9 changed files
with
70 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,44 @@ on: | |
|
||
jobs: | ||
backend-build: | ||
uses: ./.github/workflows/backend-build-test-reuse.yml | ||
secrets: | ||
codecov_token: ${{ secrets.CODECOV_TOKEN }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./script/ci/github-actions/setup-deps | ||
|
||
- name: Build with Maven | ||
run: mvn clean -B package -Prelease -Dmaven.test.skip=false --file pom.xml | ||
|
||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
verbose: true | ||
|
||
- name: Build Image | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: ./dist | ||
file: ./script/docker/server/Dockerfile | ||
push: false | ||
tags: apache/hertzbeat:test | ||
|
||
- name: Run E2E | ||
run: | | ||
sudo curl -L https://github.com/docker/compose/releases/download/v2.23.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose | ||
sudo chmod u+x /usr/local/bin/docker-compose | ||
cd e2e | ||
sudo docker-compose version | ||
sudo docker-compose up --exit-code-from testing --remove-orphans | ||
# upload application logs | ||
- name: Upload logs & API test reports | ||
uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
name: hz-logs-${{ github.run_id }} | ||
path: | | ||
e2e/logs/ | ||
e2e/report/ | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
# Security Policy | ||
|
||
**[Version Releases](https://github.com/apache/hertzbeat/releases)** | ||
Apache HertzBeat follows the [ASF vulnerability handling process](https://apache.org/security/#vulnerability-handling) | ||
|
||
## Supported Versions | ||
|
||
Use this section to tell people about which versions of your project are | ||
currently being supported with security updates. | ||
|
||
| Version | Supported | | ||
|-------------------|--------------------| | ||
| Latest Version | :white_check_mark: | | ||
| Any Other Version | :x: | | ||
|
||
## Reporting a Vulnerability | ||
|
||
Use this section to tell people how to report a vulnerability. | ||
Please do not file GitHub issues for security vulnerabilities as they are public! | ||
|
||
To report a new vulnerability you have discovered please follow the [ASF vulnerability reporting process](https://apache.org/security/#reporting-a-vulnerability). | ||
|
||
## Extra Information | ||
|
||
Please report vulnerability disclosures to `[email protected]`. | ||
- [Apache HertzBeat Security Model](https://hertzbeat.apache.org/docs/help/security_model) | ||
- [ASF Security](https://www.apache.org/security/) | ||
- [Apache HertzBeat Document](https://hertzbeat.apache.org/docs/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters