-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from Ostorlab/fix_wrong_example_in_readme
Fix Docker file and readme.
- Loading branch information
Showing
3 changed files
with
23 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,24 +31,26 @@ The next steps is to a update your workflow to add an Ostorlab step to trigger t | |
a rapid scan on an Android APK and failing the pipeline on vulnerabilities with `HIGH` severity. | ||
|
||
```yaml | ||
on: [push] | ||
on: [ push ] | ||
jobs: | ||
ostorlab_test: | ||
runs-on: ubuntu-latest | ||
name: Test ostorlab ci actions. | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Launch Ostorlab scan | ||
id: start_scan | ||
uses: actions/ostorlab_actions@v1 | ||
with: | ||
scan_profile: fast_scan | ||
asset_type: android-apk | ||
target: andoird_apk.apk | ||
can_title: title_scan_ci | ||
ostorlab_api_key: ${{ secrets.ostorlab_api_key }} # your secret api key. | ||
break_on_risk_rating: HIGH | ||
max_wait_minutes: 20 | ||
ostorlab_test: | ||
runs-on: ubuntu-latest | ||
name: Test ostorlab ci actions. | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: build ostorlab.apk | ||
run: mv InsecureBankv2.apk ostorlab.apk | ||
- name: Launch Ostorlab scan | ||
id: start_scan | ||
uses: Ostorlab/[email protected] | ||
with: | ||
scan_profile: fast_scan # Specify which scan profile to use for the scan (check scan section). | ||
asset_type: android-apk # type of asset to scan. | ||
target: ostorlab.apk # path for target tto scan. | ||
scan_title: title_scan_ci # type a title for your scan. | ||
ostorlab_api_key: ${{ secrets.ostorlab_api_key }} # your secret api key. | ||
break_on_risk_rating: HIGH # Wait for the scan results and force the action to fail if the scan risk is higher | ||
max_wait_minutes: 30 | ||
``` | ||
### Action inputs | ||
|