Skip to content
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

Akto Integration #1815

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
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
22 changes: 22 additions & 0 deletions .github/workflows/akto_ci_run.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Akto
on:
pull_request: {}
push:
branches: ["master"]
schedule:
- cron: "0 17 * * 0"

jobs:
akto-ci-run:
if: always()
# if: github.ref == 'refs/heads/master'
runs-on: [ self-hosted ]
steps:
- name: Akto CI Integration
uses: razorpay/security-action/akto@master
with:
check_name: 'Api Build'
git_token: ${{ secrets.GIT_TOKEN }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Service account GIT_TOKENs have long served as a dependable means of accessing our GitHub repositories. However, their long-term nature, without any expiration, has raised concerns about potential security risks. In contrast, GitHub App Tokens offer an enhanced, more secure, and flexible approach to managing access, benefiting both our team and our users. GitHub app tokens not only grant fine-grained control over permissions but also provide an added layer of security by being intentionally short-lived, minimizing the exposure window for potential security threats. Docs - https://docs.google.com/document/d/1oS0_8LPfdy07PSsCiyHOx2ZPlwwNZ_sJs8y53sbJzRg/edit#heading=h.2pkjwb2hp2ck Slack Thread - https://razorpay.slack.com/archives/C3UAR8DQE/p1698234208754839

⚪️ This finding does not block your pull request.


Ignore this finding from git-token-usage.

argo_token: ${{ secrets.ARGO_TOKEN }}
harbor_docker_username: ${{ secrets.HARBOR_DOCKER_USERNAME }}
harbor_docker_password: ${{ secrets.HARBOR_DOCKER_PASSWORD }}
Loading