Skip to content

Commit

Permalink
Update README.md (trufflesecurity#3019)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeleonjr authored Jun 27, 2024
1 parent 01a1499 commit 9ad24f6
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,27 +301,6 @@ trufflehog elasticsearch \
--api-key 'MlVtVjBZ...ZSYlduYnF1djh3NG5FQQ=='
```

## 15. Scan HuggingFace

### Scan a HuggingFace Model, Dataset or Space

```bash
trufflehog huggingface --model <username/modelname> --space <username/spacename> --dataset <username/datasetname>
```

### Scan all Models, Datasets and Space belonging to a HuggingFace Org/User

```bash
trufflehog huggingface --org <orgname> --user <username>
```

Optionally, skip scanning a type of resource with `--skip-models`, `--skip-datasets`, `--skip-spaces` or a particular resource with `--ignore-models/datasets/spaces <resource-name>`.

### Scan Discussion and PR Comments
```bash
trufflehog huggingface --model <username/modelname> --include-discussions --include-prs
```

# :question: FAQ

- All I see is `πŸ·πŸ”‘πŸ· TruffleHog. Unearth your secrets. πŸ·πŸ”‘πŸ·` and the program exits, what gives?
Expand Down

0 comments on commit 9ad24f6

Please sign in to comment.