8000 Add AWS IAM login profile data fetcher by donghwikim2 · Pull Request #85 · Blazebit/blaze-query · GitHub
[go: up one dir, main page]

Skip to content

Add AWS IAM login profile data fetcher - #85

Closed
donghwikim2 wants to merge 6 commits into
Blazebit:mainfrom
donghwikim2:aws-iam-fetchers
Closed

donghwikim2 wants to merge 6 commits into
Blazebit:mainfrom
donghwikim2:aws-iam-fetchers

Conversation

@donghwikim2
Copy link
Copy Markdown
Contributor

No description provided.

@donghwikim2
donghwikim2 marked this pull request as ready for review November 17, 2025 15:52
* @author Donghwi KIm
* @since 1.0.0
*/
public class AwsLoginProfile extends AwsWrapper<LoginProfile> {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Prefix names with service, e.g. AwsIamLoginProfile etc.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I renamed it to AwsIamLoginProfile

Comment on lines +75 to +77
if ( Objects.equals( e.awsErrorDetails().errorCode(),
"NoSuchEntity" ) ) {
continue;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can you add a note why ignoring this is okay?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I added comment now

// Ignore NoSuchEntity - not all users have login profiles for console access

Copilot AI review requested due to automatic review settings November 18, 2025 09:10
@donghwikim2
donghwikim2 requested a review from maxhov November 18, 2025 09:18
Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for fetching AWS IAM login profile data, which provides information about user console access configurations. Additionally, it enhances the S3 bucket policy statement to include action information.

Key changes:

  • New LoginProfileDataFetcher and AwsIamLoginProfile classes to fetch and represent IAM login profiles
  • Registration of the login profile data fetcher in the IAM schema provider
  • Addition of actionJsonValue field to AwsBucketPolicyStatement for more complete policy information

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
LoginProfileDataFetcher.java Implements data fetcher to retrieve IAM login profiles for users with console access
AwsIamLoginProfile.java Model class wrapping AWS SDK LoginProfile data
AwsIAMSchemaProvider.java Registers the new LoginProfileDataFetcher instance
Main.java Adds example registration and query for login profiles
AwsBucketPolicyStatement.java Extends record to include action field from S3 bucket policies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

donghwikim2 and others added 2 commits November 18, 2025 10:19
…ws/iam/AwsIamLoginProfile.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ws/iam/LoginProfileDataFetcher.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@maxhov
maxhov commented Nov 18, 2025
Copy link
Copy Markdown
Collaborator

Merged via 642955c

@maxhov maxhov closed this Nov 18, 2025
@donghwikim2
donghwikim2 deleted the aws-iam-fetchers branch November 18, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0