Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling 401 response code during stig mode #154

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

rajendraindukuri
Copy link
Collaborator

@rajendraindukuri rajendraindukuri commented Jul 10, 2023

Description

Added skipValidationFlag to configConnect object to pass it to authenticate method which is useful in re-establishing session in
case of STIG mode when we hit genuine 401 error code

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#891

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Backward compatibility is not broken

How Has This Been Tested?

  • Ran Sanity jobs to make sure there is no impact

This commit contains changes needed to pass skipCertificateValidation
flag from secrets file via configConnect object from csi-unity to
goUnity so that the same can be leveraged during authentication retry
when we hit 401 issue due to sessionIdleTimeout in STIG mode
@rajendraindukuri rajendraindukuri force-pushed the handling-401-response-code-during-stig-mode branch from 83de9ad to 419dc95 Compare July 12, 2023 12:09
@rajendraindukuri rajendraindukuri merged commit 13714c6 into main Jul 12, 2023
@mjsdell mjsdell deleted the handling-401-response-code-during-stig-mode branch October 17, 2024 19:00
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