Skip to content

Conversation

@v-kasghosh
Copy link
Contributor

@v-kasghosh v-kasghosh commented Jan 7, 2026

Required items, please complete

Change(s):

  • Fixed AWS Systems Manager GetInventory custom connector pagination handling.
  • Updated AWS-SSM-GetInstancePatches playbook for the empty Data handling and aligned it with the corrected GetInventory response structure.
  • Updated Readme pagination instruction.
  • Updated the Azure deploy.

Reason for Change(s):

Version Updated:

  • 3.0.2

Testing Completed:

  • Yes
image image

@v-kasghosh v-kasghosh linked an issue Jan 7, 2026 that may be closed by this pull request
@v-shukore v-shukore added the Solution Solution specialty review needed label Jan 7, 2026
@v-utpalkumar v-utpalkumar changed the title Resolve AWS SSM GetInventory pagination issues for AWS System Manager Addressed Pagination and empty Data handling issues in the AWS Systems Manager GetInventory custom connector and AWS-SSM-GetInstancePatches playbook Jan 13, 2026
@v-utpalkumar v-utpalkumar marked this pull request as ready for review January 13, 2026 10:56
@v-utpalkumar v-utpalkumar requested review from a team as code owners January 13, 2026 10:56
@v-utpalkumar v-utpalkumar linked an issue Jan 14, 2026 that may be closed by this pull request
Copy link
Collaborator

@rahul0216 rahul0216 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address inline comments.

next_token = req_body.get('NextToken')
max_results = req_body.get('MaxResults')

logging.info(f'Parsed Parameters - Filters: {filters}, Aggregators: {aggregators}, ResultAttributes: {result_attributes}, NextToken: {next_token}, MaxResults: {max_results}')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove NextToken from logging.


try:
logging.info('Calling function to get AWS SSM Inventory.')
logging.info(f'Parameters: {kwargs}')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, don't log parameters, as it may contain sensitive data.

"nextLink": None
}
logging.info(f'count: {count}')
logging.info(f'Response:{response}')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here these two logging statements are not required or add generic statements.

Copy link
Collaborator

@rahul0216 rahul0216 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good.

@v-utpalkumar v-utpalkumar merged commit fbc3aec into master Jan 14, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content-Package Solution Solution specialty review needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AWS-SSM-GetInstancePatches Logic App: Empty Data Error AWS SSM GetInventory Function Pagination

6 participants