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

feat: add new api endpoints, remove third party packages usage #149

Merged
merged 3 commits into from
Jun 20, 2024

Conversation

iljaSL
Copy link
Contributor

@iljaSL iljaSL commented Jun 18, 2024

No description provided.

@iljaSL iljaSL requested a review from cuongssh June 18, 2024 12:08
api/secretsmanager/client.go Outdated Show resolved Hide resolved
api/secretsmanager/client.go Show resolved Hide resolved
api/secretsmanager/client.go Outdated Show resolved Hide resolved
api/secretsmanager/client.go Outdated Show resolved Hide resolved
api/secretsmanager/client.go Outdated Show resolved Hide resolved
api/secretsmanager/client.go Show resolved Hide resolved
}

// SearchTargetDomainAccounts search accounts in target domain
func (s *Client) SearchTargetDomainAccounts(sortkey, sortdir, tdId string, offset, limit int, searchObject ScannedAccountsSearch) (ScannedAccountResult, error) {
Copy link

Choose a reason for hiding this comment

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

Similar blocks of code found in 2 locations. Consider refactoring.

api/secretsmanager/client.go Show resolved Hide resolved
api/secretsmanager/client.go Show resolved Hide resolved
)

// Client is a secrets-manager client instance.
type Client struct {
Copy link

Choose a reason for hiding this comment

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

Client has 37 methods (exceeds 20 allowed). Consider refactoring.

Copy link

codeclimate bot commented Jun 20, 2024

Code Climate has analyzed commit 309fed0 and detected 6 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1
Duplication 5

View more on Code Climate.

@cuongssh cuongssh merged commit 38f6f9e into SSHcom:master Jun 20, 2024
1 check passed
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.

2 participants