Commit bf5a80f
authored
refactor(parser): Improve Transfer Family models with examples and descriptions (#7294)
* refactor(parser): Improve Transfer Family models with examples and descriptions
Enhances the Transfer Family parser models with field descriptions and examples using Pydantic's Field() functionality. This improvement provides better documentation and metadata for Transfer Family event parsing, following the pattern established in PR #7100.
All field descriptions are based on official AWS Transfer Family Lambda authorizer documentation and include realistic examples from actual test events.
Closes #7119
* security: fix password examples to avoid security hotspots
Replace specific password examples with placeholder format to resolve SonarQube security hotspots while maintaining documentation value.
* security: remove IP address examples as requested
Remove IP address examples from source_ip field to avoid triggering security pipelines in customer environments as requested by leandrodamascena.1 parent f21fcb7 commit bf5a80f
File tree
1 file changed
+24
-5
lines changed- aws_lambda_powertools/utilities/parser/models
1 file changed
+24
-5
lines changedLines changed: 24 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments