Skip to content

Commit

Permalink
Merge pull request #24 from levoai/jkc/task/remove-user-id
Browse files Browse the repository at this point in the history
CU- 86azqqed0 Remove user-id since it will be picked from app->users->defaultUser
  • Loading branch information
VamsiNerella authored Mar 21, 2024
2 parents 310fb9e + 9a6f6a3 commit 87a4e13
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ This action will require you to have a Levo account and provide an application L
# Application LRN. You can get this value from the Apps section in Saas.
app-lrn: ''

# user-id which can access the APIs of the application under test.
user-id: ''

# [OPTIONAL] Test categories in comma separate string. eg - "BASELINE,SSRF,CORS". Leave it blank to run all categories
categories: ''

Expand Down
5 changes: 1 addition & 4 deletions test-application/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ inputs:
organization-id:
description: 'Levo Organization ID'
required: true
user-id:
description: Satellite's user id
required: true
categories:
description: Categories to run in comma separate string. eg - "BASELINE,SSRF,CORS". Leave it blank to run all categories
required: false
Expand Down Expand Up @@ -95,7 +92,7 @@ runs:
alias levo="docker run --name levo-container $levo_container_options ${{ inputs.levo-docker-image }}"
CMD='levo test --app-lrn "${{ inputs.app-lrn }}" --user-id "${{ inputs.user-id }}" --target-url "${{ inputs.target }}" -k ${{ inputs.authorization-key }} -o ${{ inputs.organization-id }} --export-junit-xml=/tmp/junit.xml'
CMD='levo test --app-lrn "${{ inputs.app-lrn }}" --target-url "${{ inputs.target }}" -k ${{ inputs.authorization-key }} -o ${{ inputs.organization-id }} --export-junit-xml=/tmp/junit.xml'
if ${{ inputs.categories != '' }}; then
CMD=$(echo $CMD --categories ${{ inputs.categories }})
fi
Expand Down

0 comments on commit 87a4e13

Please sign in to comment.