Skip to content

Commit

Permalink
Extend AWS support for temporary tokens [SRTSR-47] (#309)
Browse files Browse the repository at this point in the history
This updates interfaces for supporting temporary tokens in AWS.

Tested this locally and it seems to enforce it if providing a list vs a
string:

```
semgrep error: Invalid rule schema
['list1', 'list2'] is not of type 'string'
```

General checklist doesn't apply since we aren't updating an .atd for
this.
  • Loading branch information
LewisArdern authored Nov 11, 2024
1 parent 64dd682 commit efd161c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rule_schema_v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ $defs:
type: string
region:
type: string
session_token:
type: string
required: [ access_key_id, secret_access_key, region ]
# EXPERIMENTAL
http-request-content:
Expand Down

0 comments on commit efd161c

Please sign in to comment.