Skip to content

Added ARN checks in the diagnostics report#1462

Merged
aayushchouhan09 merged 1 commit intonoobaa:masterfrom
aayushchouhan09:arn-check
Nov 4, 2024
Merged

Added ARN checks in the diagnostics report#1462
aayushchouhan09 merged 1 commit intonoobaa:masterfrom
aayushchouhan09:arn-check

Conversation

@aayushchouhan09
Copy link
Member

@aayushchouhan09 aayushchouhan09 commented Oct 14, 2024

Explain the changes

  1. Added ARN checks in the diagnostics report for both backingstores and namespacestores having AWS STS ARN string.
    Screenshot from 2024-10-30 19-00-55

Issues: Fixed #xxx / Gap #xxx

Testing Instructions:

  1. Try running command noobaa diagnostics report to see the output.

@aayushchouhan09 aayushchouhan09 requested review from a team, aspandey, liranmauda, naveenpaul1 and shirady and removed request for a team October 14, 2024 11:34
@aayushchouhan09 aayushchouhan09 marked this pull request as draft October 14, 2024 11:34
@aayushchouhan09 aayushchouhan09 force-pushed the arn-check branch 2 times, most recently from 1fdfb2e to 7eaf663 Compare October 18, 2024 12:07
@aayushchouhan09 aayushchouhan09 marked this pull request as ready for review October 18, 2024 12:08
Copy link
Contributor

@Neon-White Neon-White left a comment

Choose a reason for hiding this comment

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

A few rephrases and stylistic choices for you to consider, and one remark about the ARN check which I think might be incorrect

Copy link
Contributor

@Neon-White Neon-White left a comment

Choose a reason for hiding this comment

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

Looks great

@shirady
Copy link
Contributor

shirady commented Oct 27, 2024

@achouhan09, Did you want to validate only AWS STS ARN?
If that is so, then the example in the PR description is confusing because it is not exactly the case.

@aayushchouhan09
Copy link
Member Author

@achouhan09, Did you want to validate only AWS STS ARN? If that is so, then the example in the PR description is confusing because it is not exactly the case.

@liranmauda I am bit confused about AWS ARN check here. What are the requirements for this check?
Do we need to validate AWS STS ARN only for the stores here and print the status? Also, I think checking for bucket or object ARN doesn't make sense.

Copy link
Contributor

@shirady shirady left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Aayush Chouhan <achouhan@redhat.com>
@aayushchouhan09 aayushchouhan09 merged commit 1fc5447 into noobaa:master Nov 4, 2024
@aayushchouhan09 aayushchouhan09 deleted the arn-check branch November 4, 2024 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants