Repository navigation
Security implementations #87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
5d5df88
security in the genai service was bypassable before, since service-le…
ahmet-cskn a52f993
token verification on genai service fully implemented
ahmet-cskn a9f1a1a
service-level token verification implemented in the checklist service
ahmet-cskn a5bf185
the models and endpoints generated by openapi are now used instead of…
ahmet-cskn b58009a
testing implemented for genai service and wired to CI
ahmet-cskn 46007cf
openapi's boilerplate stub tests excluded
ahmet-cskn bee8908
fetch_user_data now passes auth headers instead of user_id directly
ahmet-cskn c954631
fixed a small path drift issue
ahmet-cskn 735b0f2
ConversationCreateRequest scrapped, user_id removed from ChatRequest
ahmet-cskn 14ea8c0
added the security details to the openapi spec of the genai service
ahmet-cskn f5caba7
updates to the checklist service yaml
ahmet-cskn c82e138
a small addition
ahmet-cskn da5e7a5
excluded an unnecessary edge case test
ahmet-cskn 572313c
the service code of the checklist service is updated accordingly to t…
ahmet-cskn f90f76b
bug fix
ahmet-cskn 1a115f8
mirrored the pattern in the calendar service to the checklist service
ahmet-cskn 6e590b4
removed userId from the Checklist schema and moved it to IdentifiedCh…
ahmet-cskn 417e7e8
small bug fix
ahmet-cskn 09aae7d
Merge remote-tracking branch 'origin/main' into security-implementations
ahmet-cskn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
Restrict the test job's GitHub token.
This job executes third-party installers and repository tests while inheriting default token permissions and retaining checkout credentials. Limit the token to read-only access and disable credential persistence.
Proposed hardening
python-test: name: Test Python (GenAI Service) needs: openapi-lint runs-on: ubuntu-latest + permissions: + contents: read ... - name: Checkout Code uses: actions/checkout@v4 + with: + persist-credentials: false📝 Committable suggestion
🧰 Tools
🪛 zizmor (1.26.1)
[warning] 70-71: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
[warning] 46-100: overly broad permissions (excessive-permissions): default permissions used due to no permissions: block
(excessive-permissions)
🤖 Prompt for AI Agents
Source: Linters/SAST tools