Showing 50 of 159 total issues
Function updateSettings
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public updateSettings(
params?: SecurityAndComplianceCenterApiV3.UpdateSettingsParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.Settings>> {
const _params = { ...params };
const _requiredParams = [];
Function listRules
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public listRules(
params?: SecurityAndComplianceCenterApiV3.ListRulesParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.RulesPageBase>> {
const _params = { ...params };
const _requiredParams = [];
Function listControlLibraries
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public listControlLibraries(
params?: SecurityAndComplianceCenterApiV3.ListControlLibrariesParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.ControlLibraryCollection>> {
const _params = { ...params };
const _requiredParams = [];
Function listProfiles
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public listProfiles(
params?: SecurityAndComplianceCenterApiV3.ListProfilesParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.ProfileCollection>> {
const _params = { ...params };
const _requiredParams = [];
Function getProfileAttachment
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public getProfileAttachment(
params: SecurityAndComplianceCenterApiV3.GetProfileAttachmentParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.AttachmentItem>> {
const _params = { ...params };
const _requiredParams = ['attachmentId', 'profilesId'];
Function listAttachmentsAccount
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public listAttachmentsAccount(
params?: SecurityAndComplianceCenterApiV3.ListAttachmentsAccountParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.AttachmentCollection>> {
const _params = { ...params };
const _requiredParams = [];
Function getReportRule
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public getReportRule(
params: SecurityAndComplianceCenterApiV3.GetReportRuleParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.RuleInfo>> {
const _params = { ...params };
const _requiredParams = ['reportId', 'ruleId'];
Function getProviderTypeInstance
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public getProviderTypeInstance(
params: SecurityAndComplianceCenterApiV3.GetProviderTypeInstanceParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.ProviderTypeInstanceItem>> {
const _params = { ...params };
const _requiredParams = ['providerTypeId', 'providerTypeInstanceId'];
Function createScan
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public createScan(
params: SecurityAndComplianceCenterApiV3.CreateScanParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.Scan>> {
const _params = { ...params };
const _requiredParams = ['attachmentId'];
Function deleteProfileAttachment
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public deleteProfileAttachment(
params: SecurityAndComplianceCenterApiV3.DeleteProfileAttachmentParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.AttachmentItem>> {
const _params = { ...params };
const _requiredParams = ['attachmentId', 'profilesId'];
Function getRule
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public getRule(
params: SecurityAndComplianceCenterApiV3.GetRuleParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.Rule>> {
const _params = { ...params };
const _requiredParams = ['ruleId'];
Function getLatestReports
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public getLatestReports(
params?: SecurityAndComplianceCenterApiV3.GetLatestReportsParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.ReportLatest>> {
const _params = { ...params };
const _requiredParams = [];
Function getReportSummary
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public getReportSummary(
params: SecurityAndComplianceCenterApiV3.GetReportSummaryParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.ReportSummary>> {
const _params = { ...params };
const _requiredParams = ['reportId'];
Function getReport
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public getReport(
params: SecurityAndComplianceCenterApiV3.GetReportParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.Report>> {
const _params = { ...params };
const _requiredParams = ['reportId'];
Function listProviderTypeInstances
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public listProviderTypeInstances(
params: SecurityAndComplianceCenterApiV3.ListProviderTypeInstancesParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.ProviderTypeInstancesResponse>> {
const _params = { ...params };
const _requiredParams = ['providerTypeId'];
Function getControlLibrary
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public getControlLibrary(
params: SecurityAndComplianceCenterApiV3.GetControlLibraryParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.ControlLibrary>> {
const _params = { ...params };
const _requiredParams = ['controlLibrariesId'];
Function deleteProviderTypeInstance
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public deleteProviderTypeInstance(
params: SecurityAndComplianceCenterApiV3.DeleteProviderTypeInstanceParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.EmptyObject>> {
const _params = { ...params };
const _requiredParams = ['providerTypeId', 'providerTypeInstanceId'];
Function deleteCustomControlLibrary
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public deleteCustomControlLibrary(
params: SecurityAndComplianceCenterApiV3.DeleteCustomControlLibraryParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.ControlLibraryDelete>> {
const _params = { ...params };
const _requiredParams = ['controlLibrariesId'];
Function getReportTags
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public getReportTags(
params: SecurityAndComplianceCenterApiV3.GetReportTagsParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.ReportTags>> {
const _params = { ...params };
const _requiredParams = ['reportId'];
Function getProfile
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public getProfile(
params: SecurityAndComplianceCenterApiV3.GetProfileParams
): Promise<SecurityAndComplianceCenterApiV3.Response<SecurityAndComplianceCenterApiV3.Profile>> {
const _params = { ...params };
const _requiredParams = ['profilesId'];