Commit 575a4b6
* fix: update mypy to ^1.0 to support Python 3.11+
typed-ast 1.4.3 (a mypy <0.900 dependency) fails to build on Python 3.11+
due to C23 keyword conflicts. mypy 1.0+ removed the typed-ast dependency.
* fix: derive region from bucket in cfn__resource_injection (closes #484)
Region is now resolved once from the bucket name immediately after bucket
is known, and passed explicitly to attacker_sess, lambda_env, and
s3_notifications_sess. This ensures all resources (Lambda, S3 notification,
boto3 sessions) target the same region rather than falling back to us-east-1.
Supersedes #497.
* fix: add mypy config to suppress errors from stricter mypy 1.x defaults
* fix: disable mypy 1.x error codes that surface pre-existing sqlalchemy stub issues
* fix: pin botocore <1.32 to avoid moto 2.x incompatibility with newer checksum behavior
* update lockfile
---------
Co-authored-by: nobodynate <nate.wilson@rhinosecuritylabs.com>
1 parent 6e6c58f commit 575a4b6
File tree
3 files changed
+1684
-1053
lines changed- pacu/modules/cfn__resource_injection
3 files changed
+1684
-1053
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
187 | 190 | | |
188 | | - | |
| 191 | + | |
189 | 192 | | |
190 | 193 | | |
191 | 194 | | |
| |||
195 | 198 | | |
196 | 199 | | |
197 | 200 | | |
198 | | - | |
199 | 201 | | |
200 | 202 | | |
201 | 203 | | |
| |||
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
229 | | - | |
| 231 | + | |
230 | 232 | | |
231 | 233 | | |
232 | 234 | | |
233 | 235 | | |
234 | 236 | | |
235 | 237 | | |
236 | 238 | | |
237 | | - | |
| 239 | + | |
238 | 240 | | |
239 | 241 | | |
240 | 242 | | |
| |||
0 commit comments