diff --git a/.github/workflows/jit-security.yml b/.github/workflows/jit-security.yml new file mode 100644 index 0000000..cf52c41 --- /dev/null +++ b/.github/workflows/jit-security.yml @@ -0,0 +1,21 @@ +name: Workflows generated by the MVS plan +run-name: ${{fromJSON(github.event.inputs.client_payload).payload.job_title}} + +on: + workflow_dispatch: + inputs: + client_payload: + description: The Client payload + required: true + +permissions: + contents: read + id-token: write + +jobs: + jit-ci-job: + runs-on: ubuntu-22.04 + timeout-minutes: ${{ fromJSON(github.event.inputs.client_payload).payload.runner_setup.timeout_minutes }} + steps: + - name: ${{ fromJSON( inputs.client_payload ).payload.workflow_job_name }} + uses: jitsecurity-controls/jit-github-action@latest \ No newline at end of file