-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New attack technique: Invoke Bedrock Model (#581)
* New attack technique: Invoke Bedrock Model * Generate docs * Use context.Background() instead of context.TODO() * Simplify error handling logic * Rename wrapper to be a package-visible struct only * added detection recommendations * fixed detection * fixed detection * fixed detection * autogenerate docs * Added call to GetFoundationModelAvailability * Updated docs, including the Permiso article * Add Permiso ref * Error handling and avoid using context.TODO() * Autogen docs * Added calls to ListFoundationModelAgreementOffers, CreateFoundationModelAgreement, PutFoundationModelEntitlement * changed idempotent to false * Autogen docs * Rework Bedrock attack * autogenerate docs * only create use-case and model agreement once per account * Update docs * Update docs and refactor signature functions * Better error descriptions and remove incorrect status code check * Refactor methods inside a struct * Add detonation logs * Revert unnecessary Go version changes * Use go 1.21 in CI * Fix CI * Fix base Docker image * Make final Stratus binary smaller by removing debug symbols * Upgrade staticcheck * Attempt using staticcheck 2023.1.4 * Install the appropriate Go version for staticcheck * allow raw.githubusercontent.com network call in staticcheck CI * Fix SAST findings --------- Co-authored-by: Christophe Tafani-Dereeper <[email protected]>
- Loading branch information
1 parent
49c50c4
commit 8caa192
Showing
19 changed files
with
1,949 additions
and
32 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
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
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
Oops, something went wrong.