From abbf48a44768f9876de95f0cf61c4d75495fa103 Mon Sep 17 00:00:00 2001 From: Mondoo Tools Date: Mon, 21 Oct 2024 13:18:04 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Bump=20GraphQL=20Schema=20-=2020?= =?UTF-8?q?241021131803?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- enum.go | 145 +++++++++++++++++++++++++------------------------------ input.go | 60 +---------------------- 2 files changed, 67 insertions(+), 138 deletions(-) diff --git a/enum.go b/enum.go index a14205c..9e17741 100644 --- a/enum.go +++ b/enum.go @@ -245,14 +245,6 @@ const ( AuditLogOrderFieldTimestamp AuditLogOrderField = "TIMESTAMP" ) -// AzureDevopsTicketContextType represents the type of the ticket context. -type AzureDevopsTicketContextType string - -// The type of the ticket context. -const ( - AzureDevopsTicketContextTypeProjects AzureDevopsTicketContextType = "PROJECTS" // The ticket context for Azure Devops projects. -) - // BucketOutputType represents format of the reports for the bucket. type BucketOutputType string @@ -336,36 +328,34 @@ type ClientIntegrationType string // Type of the client integration. const ( - ClientIntegrationTypeUnknown ClientIntegrationType = "UNKNOWN" - ClientIntegrationTypeK8s ClientIntegrationType = "K8S" - ClientIntegrationTypeAws ClientIntegrationType = "AWS" - ClientIntegrationTypeManagedClient ClientIntegrationType = "MANAGED_CLIENT" - ClientIntegrationTypeAzure ClientIntegrationType = "AZURE" - ClientIntegrationTypeMs365 ClientIntegrationType = "MS365" - ClientIntegrationTypeGcp ClientIntegrationType = "GCP" - ClientIntegrationTypeGoogleWorkspace ClientIntegrationType = "GOOGLE_WORKSPACE" - ClientIntegrationTypeOkta ClientIntegrationType = "OKTA" - ClientIntegrationTypeBigquery ClientIntegrationType = "BIGQUERY" - ClientIntegrationTypeSnowflake ClientIntegrationType = "SNOWFLAKE" - ClientIntegrationTypeAwsS3 ClientIntegrationType = "AWS_S3" - ClientIntegrationTypeS3 ClientIntegrationType = "S3" - ClientIntegrationTypeHostedSlack ClientIntegrationType = "HOSTED_SLACK" - ClientIntegrationTypeGitHub ClientIntegrationType = "GITHUB" - ClientIntegrationTypeGitLab ClientIntegrationType = "GITLAB" - ClientIntegrationTypeGcsBucket ClientIntegrationType = "GCS_BUCKET" - ClientIntegrationTypePostgres ClientIntegrationType = "POSTGRES" - ClientIntegrationTypeOci ClientIntegrationType = "OCI" - ClientIntegrationTypeTicketSystemJira ClientIntegrationType = "TICKET_SYSTEM_JIRA" - ClientIntegrationTypeAwsHosted ClientIntegrationType = "AWS_HOSTED" - ClientIntegrationTypeAzureBlob ClientIntegrationType = "AZURE_BLOB" - ClientIntegrationTypeHost ClientIntegrationType = "HOST" - ClientIntegrationTypeTicketSystemEmail ClientIntegrationType = "TICKET_SYSTEM_EMAIL" - ClientIntegrationTypeTicketSystemZendesk ClientIntegrationType = "TICKET_SYSTEM_ZENDESK" - ClientIntegrationTypeMicrosoftDefender ClientIntegrationType = "MICROSOFT_DEFENDER" - ClientIntegrationTypeTicketSystemGitHub ClientIntegrationType = "TICKET_SYSTEM_GITHUB" - ClientIntegrationTypeTicketSystemGitLab ClientIntegrationType = "TICKET_SYSTEM_GITLAB" - ClientIntegrationTypeShodan ClientIntegrationType = "SHODAN" - ClientIntegrationTypeTicketSystemAzureDevOps ClientIntegrationType = "TICKET_SYSTEM_AZURE_DEVOPS" + ClientIntegrationTypeUnknown ClientIntegrationType = "UNKNOWN" + ClientIntegrationTypeK8s ClientIntegrationType = "K8S" + ClientIntegrationTypeAws ClientIntegrationType = "AWS" + ClientIntegrationTypeManagedClient ClientIntegrationType = "MANAGED_CLIENT" + ClientIntegrationTypeAzure ClientIntegrationType = "AZURE" + ClientIntegrationTypeMs365 ClientIntegrationType = "MS365" + ClientIntegrationTypeGcp ClientIntegrationType = "GCP" + ClientIntegrationTypeGoogleWorkspace ClientIntegrationType = "GOOGLE_WORKSPACE" + ClientIntegrationTypeOkta ClientIntegrationType = "OKTA" + ClientIntegrationTypeBigquery ClientIntegrationType = "BIGQUERY" + ClientIntegrationTypeSnowflake ClientIntegrationType = "SNOWFLAKE" + ClientIntegrationTypeAwsS3 ClientIntegrationType = "AWS_S3" + ClientIntegrationTypeS3 ClientIntegrationType = "S3" + ClientIntegrationTypeHostedSlack ClientIntegrationType = "HOSTED_SLACK" + ClientIntegrationTypeGitHub ClientIntegrationType = "GITHUB" + ClientIntegrationTypeGitLab ClientIntegrationType = "GITLAB" + ClientIntegrationTypeGcsBucket ClientIntegrationType = "GCS_BUCKET" + ClientIntegrationTypePostgres ClientIntegrationType = "POSTGRES" + ClientIntegrationTypeOci ClientIntegrationType = "OCI" + ClientIntegrationTypeTicketSystemJira ClientIntegrationType = "TICKET_SYSTEM_JIRA" + ClientIntegrationTypeAwsHosted ClientIntegrationType = "AWS_HOSTED" + ClientIntegrationTypeAzureBlob ClientIntegrationType = "AZURE_BLOB" + ClientIntegrationTypeHost ClientIntegrationType = "HOST" + ClientIntegrationTypeTicketSystemEmail ClientIntegrationType = "TICKET_SYSTEM_EMAIL" + ClientIntegrationTypeTicketSystemZendesk ClientIntegrationType = "TICKET_SYSTEM_ZENDESK" + ClientIntegrationTypeMicrosoftDefender ClientIntegrationType = "MICROSOFT_DEFENDER" + ClientIntegrationTypeTicketSystemGitHub ClientIntegrationType = "TICKET_SYSTEM_GITHUB" + ClientIntegrationTypeTicketSystemGitLab ClientIntegrationType = "TICKET_SYSTEM_GITLAB" ) // ComparisonOperator represents comparison operators for filtering. @@ -713,40 +703,38 @@ type IntegrationType string // Summary of client integrations. const ( - IntegrationTypeUnknown IntegrationType = "UNKNOWN" - IntegrationTypeManagedClient IntegrationType = "MANAGED_CLIENT" - IntegrationTypeK8s IntegrationType = "K8S" - IntegrationTypeAws IntegrationType = "AWS" - IntegrationTypeAzure IntegrationType = "AZURE" - IntegrationTypeMs365 IntegrationType = "MS365" - IntegrationTypeSlack IntegrationType = "SLACK" - IntegrationTypeMsteams IntegrationType = "MSTEAMS" - IntegrationTypeTelegram IntegrationType = "TELEGRAM" - IntegrationTypeHttppost IntegrationType = "HTTPPOST" - IntegrationTypeGcp IntegrationType = "GCP" - IntegrationTypeGoogleWorkspace IntegrationType = "GOOGLE_WORKSPACE" - IntegrationTypeOkta IntegrationType = "OKTA" - IntegrationTypeBigquery IntegrationType = "BIGQUERY" - IntegrationTypeSnowflake IntegrationType = "SNOWFLAKE" - IntegrationTypeAwsS3 IntegrationType = "AWS_S3" - IntegrationTypeS3 IntegrationType = "S3" - IntegrationTypeHostedSlack IntegrationType = "HOSTED_SLACK" - IntegrationTypeGitHub IntegrationType = "GITHUB" - IntegrationTypeGitLab IntegrationType = "GITLAB" - IntegrationTypeGcsBucket IntegrationType = "GCS_BUCKET" - IntegrationTypePostgres IntegrationType = "POSTGRES" - IntegrationTypeOci IntegrationType = "OCI" - IntegrationTypeTicketSystemJira IntegrationType = "TICKET_SYSTEM_JIRA" - IntegrationTypeAzureBlob IntegrationType = "AZURE_BLOB" - IntegrationTypeHost IntegrationType = "HOST" - IntegrationTypeAwsHosted IntegrationType = "AWS_HOSTED" - IntegrationTypeTicketSystemEmail IntegrationType = "TICKET_SYSTEM_EMAIL" - IntegrationTypeTicketSystemZendesk IntegrationType = "TICKET_SYSTEM_ZENDESK" - IntegrationTypeMicrosoftDefender IntegrationType = "MICROSOFT_DEFENDER" - IntegrationTypeTicketSystemGitHub IntegrationType = "TICKET_SYSTEM_GITHUB" - IntegrationTypeTicketSystemGitLab IntegrationType = "TICKET_SYSTEM_GITLAB" - IntegrationTypeShodan IntegrationType = "SHODAN" - IntegrationTypeTicketSystemAzureDevOps IntegrationType = "TICKET_SYSTEM_AZURE_DEVOPS" + IntegrationTypeUnknown IntegrationType = "UNKNOWN" + IntegrationTypeManagedClient IntegrationType = "MANAGED_CLIENT" + IntegrationTypeK8s IntegrationType = "K8S" + IntegrationTypeAws IntegrationType = "AWS" + IntegrationTypeAzure IntegrationType = "AZURE" + IntegrationTypeMs365 IntegrationType = "MS365" + IntegrationTypeSlack IntegrationType = "SLACK" + IntegrationTypeMsteams IntegrationType = "MSTEAMS" + IntegrationTypeTelegram IntegrationType = "TELEGRAM" + IntegrationTypeHttppost IntegrationType = "HTTPPOST" + IntegrationTypeGcp IntegrationType = "GCP" + IntegrationTypeGoogleWorkspace IntegrationType = "GOOGLE_WORKSPACE" + IntegrationTypeOkta IntegrationType = "OKTA" + IntegrationTypeBigquery IntegrationType = "BIGQUERY" + IntegrationTypeSnowflake IntegrationType = "SNOWFLAKE" + IntegrationTypeAwsS3 IntegrationType = "AWS_S3" + IntegrationTypeS3 IntegrationType = "S3" + IntegrationTypeHostedSlack IntegrationType = "HOSTED_SLACK" + IntegrationTypeGitHub IntegrationType = "GITHUB" + IntegrationTypeGitLab IntegrationType = "GITLAB" + IntegrationTypeGcsBucket IntegrationType = "GCS_BUCKET" + IntegrationTypePostgres IntegrationType = "POSTGRES" + IntegrationTypeOci IntegrationType = "OCI" + IntegrationTypeTicketSystemJira IntegrationType = "TICKET_SYSTEM_JIRA" + IntegrationTypeAzureBlob IntegrationType = "AZURE_BLOB" + IntegrationTypeHost IntegrationType = "HOST" + IntegrationTypeAwsHosted IntegrationType = "AWS_HOSTED" + IntegrationTypeTicketSystemEmail IntegrationType = "TICKET_SYSTEM_EMAIL" + IntegrationTypeTicketSystemZendesk IntegrationType = "TICKET_SYSTEM_ZENDESK" + IntegrationTypeMicrosoftDefender IntegrationType = "MICROSOFT_DEFENDER" + IntegrationTypeTicketSystemGitHub IntegrationType = "TICKET_SYSTEM_GITHUB" + IntegrationTypeTicketSystemGitLab IntegrationType = "TICKET_SYSTEM_GITLAB" ) // InvitationOrderField @@ -1186,13 +1174,12 @@ type TicketRefType string // Ticket reference type. const ( - TicketRefTypeUnknown TicketRefType = "UNKNOWN" - TicketRefTypeJira TicketRefType = "JIRA" - TicketRefTypeEmail TicketRefType = "EMAIL" - TicketRefTypeZendesk TicketRefType = "ZENDESK" - TicketRefTypeGitHub TicketRefType = "GITHUB" - TicketRefTypeGitLab TicketRefType = "GITLAB" - TicketRefTypeAzureDevOps TicketRefType = "AZURE_DEVOPS" + TicketRefTypeUnknown TicketRefType = "UNKNOWN" + TicketRefTypeJira TicketRefType = "JIRA" + TicketRefTypeEmail TicketRefType = "EMAIL" + TicketRefTypeZendesk TicketRefType = "ZENDESK" + TicketRefTypeGitHub TicketRefType = "GITHUB" + TicketRefTypeGitLab TicketRefType = "GITLAB" ) // TrustLevel represents trust level of the object. diff --git a/input.go b/input.go index ef04424..72e2241 100644 --- a/input.go +++ b/input.go @@ -7,7 +7,7 @@ package mondoogql // Input represents one of the Input structs: // -// APITokenOrder, AWSConfigurationOptionsInput, AWSEventPatternInput, AWSRoleCredential, AWSSecretKeyCredential, AcceptLegalPolicy, ActivePoliciesInput, ActivePolicyOrder, AddSSHKeyRequest, AdvisoryFilter, AdvisoryOrder, AdvisorySummaryOrder, AgentOrder, AgentVersionFilter, AggregateScoreFilter, AggregateScoreOrder, AnalyseAssetVulnerabilitiesInput, AnalyseIncognitoAssetInput, ApplyExceptionForScopesInput, ApplySpacePlanInput, AssetEolFilter, AssetExploitableFilter, AssetGroupOrder, AssetLastPackageUpdateTimeInput, AssetLinkInfoInput, AssetListPoliciesFilter, AssetOSRebootFilter, AssetOrder, AssetOverviewPageInfo, AssetPackageDetailsInput, AssetReportInput, AssetReportListPoliciesFilter, AssetReportPolicyOrder, AssetReportQueryOrder, AssetResourceInput, AssetSearchInput, AssetSearchSuggestionsInput, AssetSummaryOrder, AssetUpdateFilter, AssetUrlSegmentInput, AssetUrlStatsInput, AssetVulnerabilityReportInput, AuditLogOrder, AwsS3ConfigurationOptionsInput, AwsScanOptions, AzureBlobConfigurationOptionsInput, AzureConfigurationOptionsInput, AzureDevopsConfigurationOptionsInput, AzureDevopsTicketConfigInput, AzureDevopsTicketContextInput, AzureDevopsTicketContextProjectsInput, BigqueryConfigurationOptionsInput, BillingSessionInput, CaseContentInput, CaseRefInput, CaseTicketConfigInput, CasesConfigurationInput, CasesInput, CategoriesListInput, ChangeSubscriptionPlanInput, CheckScoreFilter, CheckScoreOrder, ChecksOrder, ChecksSearchInput, CiCdJobPageInfo, CiCdProjectPageInfo, CicdProjectJobsInput, CicdProjectOrder, CicdProjectsInput, ClientIntegrationConfigurationInput, ClientIntegrationInput, CloseCaseInput, ComplianceAssetOrder, ComplianceAssetsSearchInput, ComplianceControlInput, ComplianceFrameworkInput, ComplianceFrameworkMutationInput, ComplianceFrameworksInput, ContentSearchInput, ContentSearchResultItemOrder, ControlDocumentOptionsInput, ControlScoreFilter, ControlScoreOrder, ControlsOrder, ControlsSearchInput, CreateCaseInput, CreateClientIntegrationInput, CreateInvitationInput, CreateOrganizationInput, CreateServiceAccountInput, CreateSpaceInput, CveFilter, CveOrder, CveSummaryOrder, DataQueryFilter, DataQueryOrder, DeleteAPITokenInput, DeleteAgentsInput, DeleteAssetsInput, DeleteCasesInput, DeleteClientIntegrationInput, DeleteCustomPolicyInput, DeleteCustomQueryPackInput, DeleteFrameworkInput, DeleteProjectsInput, DeleteSSHKeyRequest, DeleteSSOProviderInput, DeleteServiceAccountsInput, DownloadBundleInput, DownloadFrameworkInput, EbsScanOptionsInput, Ec2ScanOptionsInput, EmailConfigurationOptionsInput, EmailPreferenceInput, EmailRecipientInput, EmailTicketConfigInput, EnableSSOProviderInput, EolAssetsConfigurationInput, ExceptionGroupsInput, ExceptionMutationInput, ExceptionReviewInput, ForkFrameworkInput, FrameworkDocumentOptionsInput, GarbageCollectAssetsConfigurationInput, GcpConfigurationOptionsInput, GcsBucketConfigurationOptionsInput, GenerateAPITokenInput, GenerateDocumentInput, GetClientIntegrationDeleteCommandInput, GetClientIntegrationTokenInput, GithubConfigurationOptionsInput, GithubTicketConfigInput, GithubTicketingConfigurationOptionsInput, GitlabConfigurationOptionsInput, GitlabTicketConfigInput, GitlabTicketingConfigurationOptionsInput, GoogleWorkspaceConfigurationOptionsInput, GroupFilter, HostConfigurationOptionsInput, HostedAwsConfigurationOptionsInput, IDSuggestionInput, IntegrationInput, IntegrationOptionsInput, IntegrationsSummaryInput, InvitationOrder, JiraConfigurationOptionsInput, JiraTicketConfigInput, JiraTicketContextInput, JiraTicketContextProjectsInput, JiraTicketContextUsersInput, K8sConfigurationOptionsInput, KeyValueInput, LibraryOrder, ListClientIntegrationsFilterInput, ListClientIntegrationsInput, ListDiscoveryResultsInput, ManagedClientsFilters, MembershipOrder, MicrosoftDefenderConfigurationOptionsInput, ModifyRiskFactorInput, MqueryAssetDataInput, MqueryAssetScoresInput, MqueryInput, MqueryScoreInput, Ms365ConfigurationOptionsInput, MvdOrder, OciConfigurationOptionsInput, OktaConfigurationOptionsInput, OrgViewPageInfo, OrganizationOverviewInput, PackageFilter, PackageInput, PackageScoresFilter, PackageScoresInput, PackageScoresOrder, PackagesOrder, PerformDiscoveryInput, PingIntegrationInput, PlanningMilestoneMetadataMutationInput, PlatformInput, PlatformVulnerabilityConfigurationInput, PlatformsListInput, PolicyAddInput, PolicyAssignmentInput, PolicyDashboardStatsInput, PolicyDeleteInput, PolicyInput, PolicyReportMquerySummaryOrder, PolicyReportSummaryOrder, PostgresConfigurationOptionsInput, ProcessCaseEventsInput, PropertyQueryMutationInput, PropertyQueryMutationTarget, PropertyQueryOverride, QueryPackAddInput, RatedPoliciesInput, RegistrationTokenInput, RegistrationTokenOrder, RemediationFilter, RemediationInput, RemediationPackageFields, RemoveOrganizationMembershipInput, RemoveSpaceMembershipInput, RenderedAssetQueryDataInput, ReportViewedInfo, ReportViewedInput, RevokeRegistrationTokenInput, RiskFactorFilter, RiskFactorFilterQuery, RiskFactorMagnitudeModification, RoleInput, S3ConfigurationOptionsInput, SSOProviderInput, ScanConfigurationInput, ScimGroupMapping, ScoreRange, SearchFilters, SecurityDashboardPageInfo, ServiceAccountOrder, SetAssetAnnotationsInput, SetCustomPolicyInput, SetCustomQueryPackInput, SetOrganizationMembershipInput, SetRoleInput, SetRolesInput, SetSSOProviderInput, SetScimGroupMappingInput, SetSpaceMembershipInput, ShodanConfigurationOptionsInput, SlackConfigurationOptionsInput, SnowflakeConfigurationOptionsInput, SpacePlanInput, SpacePlanQueryMutationDeltaInput, SpacePolicyReportInput, SpacePolicySummaryInput, SpaceReportInput, SpaceSettingsInput, SpaceVulnerabilitiesInput, SpaceVulnerabilityReportInput, SubscriptionItem, SuppressIntegrationMessageInput, TerminatedAssetsConfigurationInput, TicketContextInput, TicketingIntegrationsInput, TimestampFilter, TopPolicyActionsInput, TopVulnerabilityInput, TriggerActionInput, TriggerActionOptionsInput, UnusedServiceAccountsConfigurationInput, UpdateAPITokenInput, UpdateAgentInput, UpdateClientIntegrationConfigurationInput, UpdateClientIntegrationNameInput, UpdateOrganizationInput, UpdateServiceAccountInput, UpdateSpaceInput, UpdateUserInput, UploadFrameworkInput, VPCConfigurationInput, VulnDashboardStatsInput, VulnerabilityDashboardPageInfo, VulnerabilityScoreFilter, VulnerabilityScoreOrder, ZendeskConfigurationOptionsInput, ZendeskCustomFieldInput. +// APITokenOrder, AWSConfigurationOptionsInput, AWSEventPatternInput, AWSRoleCredential, AWSSecretKeyCredential, AcceptLegalPolicy, ActivePoliciesInput, ActivePolicyOrder, AddSSHKeyRequest, AdvisoryFilter, AdvisoryOrder, AdvisorySummaryOrder, AgentOrder, AgentVersionFilter, AggregateScoreFilter, AggregateScoreOrder, AnalyseAssetVulnerabilitiesInput, AnalyseIncognitoAssetInput, ApplyExceptionForScopesInput, ApplySpacePlanInput, AssetEolFilter, AssetExploitableFilter, AssetGroupOrder, AssetLastPackageUpdateTimeInput, AssetLinkInfoInput, AssetListPoliciesFilter, AssetOSRebootFilter, AssetOrder, AssetOverviewPageInfo, AssetPackageDetailsInput, AssetReportInput, AssetReportListPoliciesFilter, AssetReportPolicyOrder, AssetReportQueryOrder, AssetResourceInput, AssetSearchInput, AssetSearchSuggestionsInput, AssetSummaryOrder, AssetUpdateFilter, AssetUrlSegmentInput, AssetUrlStatsInput, AssetVulnerabilityReportInput, AuditLogOrder, AwsS3ConfigurationOptionsInput, AwsScanOptions, AzureBlobConfigurationOptionsInput, AzureConfigurationOptionsInput, BigqueryConfigurationOptionsInput, BillingSessionInput, CaseContentInput, CaseRefInput, CaseTicketConfigInput, CasesConfigurationInput, CasesInput, CategoriesListInput, ChangeSubscriptionPlanInput, CheckScoreFilter, CheckScoreOrder, ChecksOrder, ChecksSearchInput, CiCdJobPageInfo, CiCdProjectPageInfo, CicdProjectJobsInput, CicdProjectOrder, CicdProjectsInput, ClientIntegrationConfigurationInput, ClientIntegrationInput, CloseCaseInput, ComplianceAssetOrder, ComplianceAssetsSearchInput, ComplianceControlInput, ComplianceFrameworkInput, ComplianceFrameworkMutationInput, ComplianceFrameworksInput, ContentSearchInput, ContentSearchResultItemOrder, ControlDocumentOptionsInput, ControlScoreFilter, ControlScoreOrder, ControlsOrder, ControlsSearchInput, CreateCaseInput, CreateClientIntegrationInput, CreateInvitationInput, CreateOrganizationInput, CreateServiceAccountInput, CreateSpaceInput, CveFilter, CveOrder, CveSummaryOrder, DataQueryFilter, DataQueryOrder, DeleteAPITokenInput, DeleteAgentsInput, DeleteAssetsInput, DeleteCasesInput, DeleteClientIntegrationInput, DeleteCustomPolicyInput, DeleteCustomQueryPackInput, DeleteFrameworkInput, DeleteProjectsInput, DeleteSSHKeyRequest, DeleteSSOProviderInput, DeleteServiceAccountsInput, DownloadBundleInput, DownloadFrameworkInput, EbsScanOptionsInput, Ec2ScanOptionsInput, EmailConfigurationOptionsInput, EmailPreferenceInput, EmailRecipientInput, EmailTicketConfigInput, EnableSSOProviderInput, EolAssetsConfigurationInput, ExceptionGroupsInput, ExceptionMutationInput, ExceptionReviewInput, ForkFrameworkInput, FrameworkDocumentOptionsInput, GarbageCollectAssetsConfigurationInput, GcpConfigurationOptionsInput, GcsBucketConfigurationOptionsInput, GenerateAPITokenInput, GenerateDocumentInput, GetClientIntegrationDeleteCommandInput, GetClientIntegrationTokenInput, GithubConfigurationOptionsInput, GithubTicketConfigInput, GithubTicketingConfigurationOptionsInput, GitlabConfigurationOptionsInput, GitlabTicketConfigInput, GitlabTicketingConfigurationOptionsInput, GoogleWorkspaceConfigurationOptionsInput, GroupFilter, HostConfigurationOptionsInput, HostedAwsConfigurationOptionsInput, IDSuggestionInput, IntegrationInput, IntegrationOptionsInput, IntegrationsSummaryInput, InvitationOrder, JiraConfigurationOptionsInput, JiraTicketConfigInput, JiraTicketContextInput, JiraTicketContextProjectsInput, JiraTicketContextUsersInput, K8sConfigurationOptionsInput, KeyValueInput, LibraryOrder, ListClientIntegrationsFilterInput, ListClientIntegrationsInput, ListDiscoveryResultsInput, ManagedClientsFilters, MembershipOrder, MicrosoftDefenderConfigurationOptionsInput, ModifyRiskFactorInput, MqueryAssetDataInput, MqueryAssetScoresInput, MqueryInput, MqueryScoreInput, Ms365ConfigurationOptionsInput, MvdOrder, OciConfigurationOptionsInput, OktaConfigurationOptionsInput, OrgViewPageInfo, OrganizationOverviewInput, PackageFilter, PackageInput, PackageScoresFilter, PackageScoresInput, PackageScoresOrder, PackagesOrder, PerformDiscoveryInput, PingIntegrationInput, PlanningMilestoneMetadataMutationInput, PlatformInput, PlatformVulnerabilityConfigurationInput, PlatformsListInput, PolicyAddInput, PolicyAssignmentInput, PolicyDashboardStatsInput, PolicyDeleteInput, PolicyInput, PolicyReportMquerySummaryOrder, PolicyReportSummaryOrder, PostgresConfigurationOptionsInput, ProcessCaseEventsInput, PropertyQueryMutationInput, PropertyQueryMutationTarget, PropertyQueryOverride, QueryPackAddInput, RatedPoliciesInput, RegistrationTokenInput, RegistrationTokenOrder, RemediationFilter, RemediationInput, RemediationPackageFields, RemoveOrganizationMembershipInput, RemoveSpaceMembershipInput, RenderedAssetQueryDataInput, ReportViewedInfo, ReportViewedInput, RevokeRegistrationTokenInput, RiskFactorFilter, RiskFactorFilterQuery, RiskFactorMagnitudeModification, RoleInput, S3ConfigurationOptionsInput, SSOProviderInput, ScanConfigurationInput, ScimGroupMapping, ScoreRange, SearchFilters, SecurityDashboardPageInfo, ServiceAccountOrder, SetAssetAnnotationsInput, SetCustomPolicyInput, SetCustomQueryPackInput, SetOrganizationMembershipInput, SetRoleInput, SetRolesInput, SetSSOProviderInput, SetScimGroupMappingInput, SetSpaceMembershipInput, SlackConfigurationOptionsInput, SnowflakeConfigurationOptionsInput, SpacePlanInput, SpacePlanQueryMutationDeltaInput, SpacePolicyReportInput, SpacePolicySummaryInput, SpaceReportInput, SpaceSettingsInput, SpaceVulnerabilitiesInput, SpaceVulnerabilityReportInput, SubscriptionItem, SuppressIntegrationMessageInput, TerminatedAssetsConfigurationInput, TicketContextInput, TicketingIntegrationsInput, TimestampFilter, TopPolicyActionsInput, TopVulnerabilityInput, TriggerActionInput, TriggerActionOptionsInput, UnusedServiceAccountsConfigurationInput, UpdateAPITokenInput, UpdateAgentInput, UpdateClientIntegrationConfigurationInput, UpdateClientIntegrationNameInput, UpdateOrganizationInput, UpdateServiceAccountInput, UpdateSpaceInput, UpdateUserInput, UploadFrameworkInput, VPCConfigurationInput, VulnDashboardStatsInput, VulnerabilityDashboardPageInfo, VulnerabilityScoreFilter, VulnerabilityScoreOrder, ZendeskConfigurationOptionsInput, ZendeskCustomFieldInput. type Input interface{} // APITokenOrder @@ -476,47 +476,6 @@ type AzureConfigurationOptionsInput struct { ClientSecret *String `json:"clientSecret,omitempty"` } -// AzureDevopsConfigurationOptionsInput represents azure Devops integration input. -type AzureDevopsConfigurationOptionsInput struct { - // (Required.) - OrganizationURL String `json:"organizationUrl"` - // (Required.) - TenantID String `json:"tenantId"` - // (Required.) - ServicePrincipalID String `json:"servicePrincipalId"` - // (Required.) - ClientSecret String `json:"clientSecret"` - // (Required.) - AutoCloseTickets Boolean `json:"autoCloseTickets"` - // (Required.) - AutoCreateTickets Boolean `json:"autoCreateTickets"` - - // (Optional.) - DefaultProjectName *String `json:"defaultProjectName,omitempty"` -} - -// AzureDevopsTicketConfigInput represents azure Devops ticket configuration input. -type AzureDevopsTicketConfigInput struct { - // The Azure Devops project name. (Required.) - ProjectName String `json:"projectName"` -} - -// AzureDevopsTicketContextInput represents parameters for AzureDevopsTicketContext. -type AzureDevopsTicketContextInput struct { - // The type of the ticket context. (Required.) - Type AzureDevopsTicketContextType `json:"type"` - - // The parameters for the ticket context. (Optional.) - Projects *AzureDevopsTicketContextProjectsInput `json:"projects,omitempty"` -} - -// AzureDevopsTicketContextProjectsInput represents azure Devops projects filter parameters for AzureDevopsTicketContext. -type AzureDevopsTicketContextProjectsInput struct { - - // The Azure Devops query to filter the projects by. (Optional.) - Query *String `json:"query,omitempty"` -} - // BigqueryConfigurationOptionsInput represents bigQuery integration input. type BigqueryConfigurationOptionsInput struct { // (Required.) @@ -560,8 +519,6 @@ type CaseTicketConfigInput struct { GitHub *GithubTicketConfigInput `json:"github,omitempty"` // Gitlab ticket configuration. (Optional.) GitLab *GitlabTicketConfigInput `json:"gitlab,omitempty"` - // Azure Devops ticket configuration. (Optional.) - AzureDevOps *AzureDevopsTicketConfigInput `json:"azureDevops,omitempty"` } // CasesConfigurationInput represents cases configuration input. @@ -753,10 +710,6 @@ type ClientIntegrationConfigurationInput struct { GitHubTicketingConfigurationOptions *GithubTicketingConfigurationOptionsInput `json:"githubTicketingConfigurationOptions,omitempty"` // (Optional.) GitLabTicketingConfigurationOptions *GitlabTicketingConfigurationOptionsInput `json:"gitlabTicketingConfigurationOptions,omitempty"` - // (Optional.) - ShodanConfigurationOptions *ShodanConfigurationOptionsInput `json:"shodanConfigurationOptions,omitempty"` - // (Optional.) - AzureDevOpsConfigurationOptions *AzureDevopsConfigurationOptionsInput `json:"azureDevopsConfigurationOptions,omitempty"` } // ClientIntegrationInput represents input for client integration. @@ -2435,15 +2388,6 @@ type SetSpaceMembershipInput struct { Roles []RoleInput `json:"roles"` } -// ShodanConfigurationOptionsInput represents shodan integration input. -type ShodanConfigurationOptionsInput struct { - // Shodan API token. (Required.) - Token String `json:"token"` - - // Shodan scan targets. Can be a domain, IP or CIDR. (Optional.) - Targets *[]String `json:"targets,omitempty"` -} - // SlackConfigurationOptionsInput represents slack integration input. type SlackConfigurationOptionsInput struct { @@ -2589,8 +2533,6 @@ type TicketContextInput struct { // Jira ticket context parameters. (Optional.) Jira *JiraTicketContextInput `json:"jira,omitempty"` - // Azure Devops ticket context parameters. (Optional.) - AzureDevOps *AzureDevopsTicketContextInput `json:"azureDevops,omitempty"` } // TicketingIntegrationsInput represents ticketingIntegrationsInput describes the input for listing ticketing integrations.