Links

GitHub integration for CICD test reporting

Akto’s integration with GitHub enterprise and Github.com allows you to maintain API security through GitHub pull requests itself.
With this integration, you'll be able to:
  • Check status of Akto CICD tests directly from GitHub pull requests through quality gates
  • Check result of Akto CICD tests directly from comment posted on Github pull request.

Prerequisites

Steps to trigger Akto CICD test for reporting on Github PR via Github Actions

  • Follow run test in CICD to trigger CICD tests via github action.
  • Add variable GITHUB_COMMIT_ID : ${{github.event.pull_request.head.sha}} in our Github Plugin in order to trigger Akto CICD reporting on Github PR.
    - name: Run CI/CD tests
    uses: akto-api-security/[email protected]
    with:
    AKTO_DASHBOARD_URL: ${{vars.AKTO_DASHBOARD_URL}}
    GITHUB_COMMIT_ID: ${{github.event.pull_request.head.sha}}
    AKTO_API_KEY: ${{vars.AKTO_API_KEY}}
    AKTO_TEST_ID: ${{vars.AKTO_TEST_ID}}
    START_TIME_DELAY: 180 # Delay in seconds after which testing run is started, optional, default is 0