Skip to content

Export RetrieveItems function for external use and standardize naming#53

Open
DAcodedBEAT wants to merge 1 commit into
duosecurity:masterfrom
DAcodedBEAT:master
Open

Export RetrieveItems function for external use and standardize naming#53
DAcodedBEAT wants to merge 1 commit into
duosecurity:masterfrom
DAcodedBEAT:master

Conversation

@DAcodedBEAT

Copy link
Copy Markdown

Export RetrieveItems function for external use and standardize naming

Description

  • Exported the RetrieveItems function to allow its use outside the admin package.
  • Corrected a typo in a comment within the User struct definition.
  • Standardized naming conventions by updating variable names to camelCase (e.g., asserted_users -> assertedUsers).
  • Renamed the responsePage interface to ResponsePage for use outside package.
  • Refactored methods and callback functions to use the newly exported RetrieveItems function and ResponsePage interface.

Motivation and Context

I made this change since /admin/v1/integrations is not exposed in this SDK. Rather than auditing all missing endpoints, I figured this helper function can be exposed so consumers can make use of this in the event multiple are missing.

How Has This Been Tested?

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

… in admin module

- Exported the RetrieveItems function to allow its use outside the admin package.
- Corrected a typo in a comment within the User struct definition.
- Standardized naming conventions by updating variable names to camelCase (e.g., asserted_users -> assertedUsers).
- Renamed the `responsePage` interface to `ResponsePage` for use outside package.
- Refactored methods and callback functions to use the newly exported `RetrieveItems` function and `ResponsePage` interface.
@DAcodedBEAT

Copy link
Copy Markdown
Author

@duosecurity I don't see a CONTRIBUTING.md file in here - is there anything else needed to get this rolled out?

@DAcodedBEAT

Copy link
Copy Markdown
Author

@jaherne-duo / @AaronAtDuo - any ideas on who maintains this repository and if this can be merged?

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.

1 participant