Skip to content

docs(aws): add guide for extending existing services#10924

Open
mohamedsolaiman wants to merge 1 commit intoprowler-cloud:masterfrom
mohamedsolaiman:docs/aws-service-extension-guide
Open

docs(aws): add guide for extending existing services#10924
mohamedsolaiman wants to merge 1 commit intoprowler-cloud:masterfrom
mohamedsolaiman:docs/aws-service-extension-guide

Conversation

@mohamedsolaiman
Copy link
Copy Markdown

Adds documentation for extending existing AWS services with new attributes. Covers identifying missing data, adding Optional fields to models, updating data collection methods, using safe .get() access, and updating tests.

Add a new documentation section to the AWS provider details page
explaining how to extend an existing service with new attributes.
This is a common contributor task that was previously undocumented.

The guide covers:
1. Identifying missing data from AWS API calls
2. Adding new Optional fields to Pydantic resource models
3. Updating data collection methods to extract new attributes
4. Using safe dictionary access (.get()) to prevent KeyError exceptions
5. Updating service tests with new mock data

Also adds a best practice note about using .get() instead of direct
dictionary access for AWS API responses, which prevents scan failures
when API responses don't include expected keys.
@mohamedsolaiman mohamedsolaiman requested a review from a team as a code owner April 28, 2026 17:19
@github-actions github-actions Bot added documentation community Opened by the Community labels Apr 28, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Conflict Markers Resolved

All conflict markers have been successfully resolved in this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Opened by the Community documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant