mirror of
https://github.com/rclone/rclone.git
synced 2025-04-19 18:31:10 +08:00
Merge 1da511b4863b79ffc89b74a41e3d01de76d60e5e into 4d38424e6cbb32d07c74d3b4d760af7afb35742d
This commit is contained in:
commit
4370092074
28
.github/codeql/codeql-config.yml
vendored
Normal file
28
.github/codeql/codeql-config.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: "Rclone CodeQL Config"
|
||||
|
||||
query-filters:
|
||||
- exclude:
|
||||
id: go/clear-text-logging
|
||||
- exclude:
|
||||
id: go/insecure-hostkeycallback
|
||||
- exclude:
|
||||
id: go/log-injection
|
||||
- exclude:
|
||||
id: go/path-injection
|
||||
- exclude:
|
||||
id: go/reflected-xss
|
||||
- exclude:
|
||||
id: go/request-forgery
|
||||
- exclude:
|
||||
id: go/unvalidated-url-redirection
|
||||
- exclude:
|
||||
id: go/xml/xpath-injection
|
||||
#Uncomment to suppress more potential warnings
|
||||
#- exclude:
|
||||
# tags contain:
|
||||
# - security
|
||||
#- exclude:
|
||||
#problem.severity:
|
||||
#- warning
|
||||
#- recommendation
|
||||
|
44
.github/workflows/codeql.yml
vendored
Normal file
44
.github/workflows/codeql.yml
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
tags:
|
||||
- '*'
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ go ]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# config-file: ./.github/codeql/codeql-config.yml
|
||||
#queries: +security-and-qualiy
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v3
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
with:
|
||||
category: "/language:${{ matrix.language }}"
|
Loading…
x
Reference in New Issue
Block a user