Skip to content

Commit

Permalink
Updated README for --sub flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Prateek-Thakare committed Jul 5, 2024
1 parent aa9f5f2 commit 38731b7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ options:
-v, --verbose print debug logs
-aws AWS_PROFILES, --aws_profiles AWS_PROFILES
List of comma separated aws profiles for Route53
--sub Subdomain to onboard and scan
```

Expand Down Expand Up @@ -216,6 +217,11 @@ mantis onboard -o org_name -t 203.0.113.0/24
mantis onboard -o org_name -f input.txt
```

### Add a new subdomain to existing org
```shell
mantis onboard -o org_name -t subdomain.example.in --sub
```

### Scan on all assets belonging to an organisation

Now that you have onboarded, you just need to run scheduled scans for an org, you can just use the scan mode
Expand All @@ -230,6 +236,11 @@ mantis scan -o org_name
mantis scan -o org_name -a app_name
```

### Scan an existing subdomain for an org

```shell
mantis scan -o org_name --sub subdomain.example.in
```

## How to contribute ?

Expand Down

0 comments on commit 38731b7

Please sign in to comment.