Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
2 changes: 2 additions & 0 deletions .github/workflows/claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
pull_request_review_comment:
types: [created]

permissions: read-all

Check warning on line 12 in .github/workflows/claude.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Replace "read-all" with specific permissions (e.g., "contents: read").

See more on https://sonarcloud.io/project/issues?id=petry-projects_TalkTerm&issues=AZ0xC2e08tYMFOVoTc5s&open=AZ0xC2e08tYMFOVoTc5s&pullRequest=22
Comment thread
don-petry marked this conversation as resolved.
Fixed

jobs:
claude:
if: >-
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
schedule:
- cron: '0 6 * * 1'

permissions: read-all

Check warning on line 13 in .github/workflows/codeql-analysis.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Replace "read-all" with specific permissions (e.g., "contents: read").

See more on https://sonarcloud.io/project/issues?id=petry-projects_TalkTerm&issues=AZ0xC2b38tYMFOVoTc5p&open=AZ0xC2b38tYMFOVoTc5p&pullRequest=22
Comment thread
don-petry marked this conversation as resolved.
Fixed

jobs:
analyze:
name: Analyze (Python)
Expand All @@ -19,14 +21,14 @@
security-events: write
Comment thread
don-petry marked this conversation as resolved.
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@5c8a8a642e79153f5d047b10ec1cba1d1cc65699 # v3
with:
languages: python

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@5c8a8a642e79153f5d047b10ec1cba1d1cc65699 # v3
with:
category: '/language:python'
11 changes: 6 additions & 5 deletions .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,26 @@
branches:
- main

permissions:
contents: write
pull-requests: write
permissions: read-all

Check warning on line 8 in .github/workflows/dependabot-automerge.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Replace "read-all" with specific permissions (e.g., "contents: read").

See more on https://sonarcloud.io/project/issues?id=petry-projects_TalkTerm&issues=AZ0xC2em8tYMFOVoTc5r&open=AZ0xC2em8tYMFOVoTc5r&pullRequest=22
Comment thread
don-petry marked this conversation as resolved.
Fixed

jobs:
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]'
permissions:
contents: write
pull-requests: write
Comment thread
don-petry marked this conversation as resolved.
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
uses: dependabot/fetch-metadata@ffa630c65fa7e0ecfa0625b5ceda64399aea1b36 # v2
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'

- name: Generate app token
if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.dependency-type == 'indirect'
id: app-token
uses: actions/create-github-app-token@v3
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
name: SonarCloud Analysis
permissions:
contents: read
pull-requests: read

on:
push:
branches: [main]
pull_request:
branches: [main]

permissions: read-all

Check warning on line 9 in .github/workflows/sonarcloud.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Replace "read-all" with specific permissions (e.g., "contents: read").

See more on https://sonarcloud.io/project/issues?id=petry-projects_TalkTerm&issues=AZ0xC2eV8tYMFOVoTc5q&open=AZ0xC2eV8tYMFOVoTc5q&pullRequest=22
Comment thread
don-petry marked this conversation as resolved.
Fixed

jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
steps:
Expand Down
33 changes: 33 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Security Policy

## Supported Versions

| Version | Supported |
| ------- | ------------------ |
| latest | :white_check_mark: |

## Reporting a Vulnerability

If you discover a security vulnerability in this project, please report it responsibly.

**Please do NOT open a public GitHub issue for security vulnerabilities.**

Instead, please send an email to the repository maintainers or use [GitHub's private vulnerability reporting](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-creating-advisories/privately-reporting-a-security-vulnerability) feature on this repository.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated

When reporting a vulnerability, please include:

- A description of the vulnerability
- Steps to reproduce the issue
- Potential impact of the vulnerability
- Suggested fix (if any)

## Response Timeline

- We will acknowledge receipt of your report within **48 hours**.
- We will provide an initial assessment within **5 business days**.
- We aim to release a fix within **30 days** of confirming the vulnerability.

## Security Best Practices

- Keep your dependencies up to date.
- Review the project's dependency tree for known vulnerabilities using `pip audit` or similar tools.
Loading