-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add functions for scanning jenkins, elasticsearch and huggingface
- Loading branch information
Showing
5 changed files
with
52 additions
and
22 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
[package] | ||
authors = [ | ||
"Tsiry Sandratraina <[email protected]>" | ||
"Tsiry Sandratraina <[email protected]>", | ||
] | ||
description = "Set up your CI/CD Pipeline with a specific version of trufflehog" | ||
edition = "2021" | ||
license = "MIT" | ||
name = "trufflehog" | ||
version = "0.1.0" | ||
version = "0.1.1" | ||
|
||
[lib] | ||
crate-type = [ | ||
"cdylib" | ||
"cdylib", | ||
] | ||
|
||
[dependencies] | ||
anyhow = "1.0.82" | ||
extism-pdk = "1.1.0" | ||
fluentci-pdk = "0.1.9" | ||
fluentci-pdk = "0.1.9" |
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 |
---|---|---|
|
@@ -15,28 +15,31 @@ fluentci run --wasm trufflehog setup | |
|
||
## Functions | ||
|
||
| Name | Description | | ||
| ---------- | -------------------------------------------- | | ||
| setup | Installs a specific version of trufflehog. | | ||
| git | Find credentials in git repositories | | ||
| github | Find credentials in GitHub repositories. | | ||
| gitlab | Find credentials in GitLab repositories. | | ||
| filesystem | Find credentials in a filesystem. | | ||
| s3 | Find credentials in S3 buckets. | | ||
| gcs | Find credentials in GCS buckets | | ||
| syslog | Scan syslog | | ||
| circleci | Scan CircleCI | | ||
| docker | Scan Docker Image | | ||
| travisci | Scan TravisCI | | ||
| postman | Scan Postman | | ||
| Name | Description | | ||
| ------------- | -------------------------------------------- | | ||
| setup | Installs a specific version of trufflehog. | | ||
| git | Find credentials in git repositories | | ||
| github | Find credentials in GitHub repositories. | | ||
| gitlab | Find credentials in GitLab repositories. | | ||
| filesystem | Find credentials in a filesystem. | | ||
| s3 | Find credentials in S3 buckets. | | ||
| gcs | Find credentials in GCS buckets | | ||
| syslog | Scan syslog | | ||
| circleci | Scan CircleCI | | ||
| docker | Scan Docker Image | | ||
| travisci | Scan TravisCI | | ||
| postman | Scan Postman | | ||
| jenkins | Scan Jenkins | | ||
| elasticsearch | Scan Elasticsearch | | ||
| huggingface | Scan Huggingface | | ||
|
||
## Code Usage | ||
|
||
Add `fluentci-pdk` crate to your `Cargo.toml`: | ||
|
||
```toml | ||
[dependencies] | ||
fluentci-pdk = "0.1.9" | ||
fluentci-pdk = "0.2.1" | ||
``` | ||
|
||
Use the following code to call the plugin: | ||
|
@@ -46,7 +49,7 @@ use fluentci_pdk::dag; | |
|
||
// ... | ||
|
||
dag().call("https://pkg.fluentci.io/[email protected].0?wasm=1", "setup", vec!["latest"])?; | ||
dag().call("https://pkg.fluentci.io/[email protected].1?wasm=1", "setup", vec!["latest"])?; | ||
``` | ||
|
||
## 📚 Examples | ||
|
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