From e0f70b570fb88e94196015f82d9b1bde69474f61 Mon Sep 17 00:00:00 2001 From: Mondoo Tools Date: Wed, 25 Dec 2024 00:03:40 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Bump=20GraphQL=20Schema=20-=2020?= =?UTF-8?q?241225000339?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- enum.go | 31 +++++++++++++++++++-- input.go | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 113 insertions(+), 3 deletions(-) diff --git a/enum.go b/enum.go index 9f77d94..bac96bc 100644 --- a/enum.go +++ b/enum.go @@ -379,6 +379,7 @@ const ( ClientIntegrationTypeShodan ClientIntegrationType = "SHODAN" ClientIntegrationTypeTicketSystemAzureDevOps ClientIntegrationType = "TICKET_SYSTEM_AZURE_DEVOPS" ClientIntegrationTypeSentinelOne ClientIntegrationType = "SENTINEL_ONE" + ClientIntegrationTypeCrowdstrikeFalcon ClientIntegrationType = "CROWDSTRIKE_FALCON" ) // ComparisonOperator represents comparison operators for filtering. @@ -517,7 +518,9 @@ type DocumentFormat string // Document format. const ( - DocumentFormatPdf DocumentFormat = "PDF" + DocumentFormatPdf DocumentFormat = "PDF" + DocumentFormatCsv DocumentFormat = "CSV" + DocumentFormatJsonl DocumentFormat = "JSONL" ) // DocumentStatus represents document status. @@ -538,6 +541,8 @@ type DocumentType string const ( DocumentTypeFrameworkReport DocumentType = "FRAMEWORK_REPORT" DocumentTypeControlReport DocumentType = "CONTROL_REPORT" + DocumentTypeExport DocumentType = "EXPORT" + DocumentTypeAssetReport DocumentType = "ASSET_REPORT" ) // EOLStatus represents end-of-life status. @@ -766,6 +771,7 @@ const ( IntegrationTypeShodan IntegrationType = "SHODAN" IntegrationTypeTicketSystemAzureDevOps IntegrationType = "TICKET_SYSTEM_AZURE_DEVOPS" IntegrationTypeSentinelOne IntegrationType = "SENTINEL_ONE" + IntegrationTypeCrowdstrikeFalcon IntegrationType = "CROWDSTRIKE_FALCON" ) // InvitationOrderField @@ -1301,7 +1307,6 @@ type WorkspaceSelectionConditionIntField string // Workspace selection condition int fields. const ( WorkspaceSelectionConditionIntFieldUnknown WorkspaceSelectionConditionIntField = "UNKNOWN" // Unknwon int field. - WorkspaceSelectionConditionIntFieldBaseScore WorkspaceSelectionConditionIntField = "BASE_SCORE" // Base score field. WorkspaceSelectionConditionIntFieldRiskScore WorkspaceSelectionConditionIntField = "RISK_SCORE" // Risk score field. ) @@ -1326,6 +1331,25 @@ const ( WorkspaceSelectionConditionOperatorAndNot WorkspaceSelectionConditionOperator = "AND_NOT" // AND NOT operator, meaning the condition will be "ANDed" to other conditions with a NOT. ) +// WorkspaceSelectionConditionRatingField represents workspace selection condition rating fields. +type WorkspaceSelectionConditionRatingField string + +// Workspace selection condition rating fields. +const ( + WorkspaceSelectionConditionRatingFieldUnknown WorkspaceSelectionConditionRatingField = "UNKNOWN" // Unknwon string field. + WorkspaceSelectionConditionRatingFieldRisk WorkspaceSelectionConditionRatingField = "RISK" // Risk field. +) + +// WorkspaceSelectionConditionRatingOperator represents workspace selection condition rating operators. +type WorkspaceSelectionConditionRatingOperator string + +// Workspace selection condition rating operators. +const ( + WorkspaceSelectionConditionRatingOperatorUnknown WorkspaceSelectionConditionRatingOperator = "UNKNOWN" // Unknown operator. + WorkspaceSelectionConditionRatingOperatorEqual WorkspaceSelectionConditionRatingOperator = "EQUAL" // Equal operator. + WorkspaceSelectionConditionRatingOperatorNotEqual WorkspaceSelectionConditionRatingOperator = "NOT_EQUAL" // Not equal operator. +) + // WorkspaceSelectionConditionStringField represents workspace selection condition string fields. type WorkspaceSelectionConditionStringField string @@ -1334,6 +1358,8 @@ const ( WorkspaceSelectionConditionStringFieldUnknown WorkspaceSelectionConditionStringField = "UNKNOWN" // Unknwon string field. WorkspaceSelectionConditionStringFieldPlatform WorkspaceSelectionConditionStringField = "PLATFORM" // Platform field. WorkspaceSelectionConditionStringFieldPlatformVersion WorkspaceSelectionConditionStringField = "PLATFORM_VERSION" // Platform version field. + WorkspaceSelectionConditionStringFieldAssetName WorkspaceSelectionConditionStringField = "ASSET_NAME" // Asset name field. + WorkspaceSelectionConditionStringFieldAssetKind WorkspaceSelectionConditionStringField = "ASSET_KIND" // Asset kind field. ) // WorkspaceSelectionConditionStringOperator represents workspace selection condition string operators. @@ -1344,4 +1370,5 @@ const ( WorkspaceSelectionConditionStringOperatorUnknown WorkspaceSelectionConditionStringOperator = "UNKNOWN" // Unknown operator. WorkspaceSelectionConditionStringOperatorEqual WorkspaceSelectionConditionStringOperator = "EQUAL" // Equal operator. WorkspaceSelectionConditionStringOperatorNotEqual WorkspaceSelectionConditionStringOperator = "NOT_EQUAL" // Not equal operator. + WorkspaceSelectionConditionStringOperatorContains WorkspaceSelectionConditionStringOperator = "CONTAINS" // Contains operator. ) diff --git a/input.go b/input.go index 64e5965..21d83c4 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, CreateWorkspaceInput, CveFilter, CveOrder, CveSummaryOrder, DataQueryFilter, DataQueryOrder, DeleteAPITokenInput, DeleteAgentsInput, DeleteAssetsInput, DeleteCasesInput, DeleteClientIntegrationInput, DeleteCustomPolicyInput, DeleteCustomQueryPackInput, DeleteFrameworkInput, DeleteProjectsInput, DeleteSSHKeyRequest, DeleteSSOProviderInput, DeleteServiceAccountsInput, DeleteWorkspacesInput, 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, ListFrameworksInput, 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, SentinelOneConfigurationOptionsInput, 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, UpdateWorkspaceInput, UploadFrameworkInput, VPCConfigurationInput, VulnDashboardStatsInput, VulnerabilityDashboardPageInfo, VulnerabilityScoreFilter, VulnerabilityScoreOrder, WorkspaceConditionPossibleValuesInput, WorkspaceSelectionConditionInput, WorkspaceSelectionInput, WorkspaceSelectionIntConditionInput, WorkspaceSelectionStringConditionInput, WorkspaceSelectionsInput, WorkspacesInput, ZendeskConfigurationOptionsInput, ZendeskCustomFieldInput. +// APITokenOrder, AWSConfigurationOptionsInput, AWSEventPatternInput, AWSRoleCredential, AWSSecretKeyCredential, AcceptLegalPolicy, ActivePoliciesInput, ActivePolicyOrder, AddSSHKeyRequest, AdvisoryFilter, AdvisoryOrder, AdvisorySummaryOrder, AgentOrder, AgentVersionFilter, AggregateScoreFilter, AggregateScoreOrder, AnalyseAssetVulnerabilitiesInput, AnalyseIncognitoAssetInput, ApplyExceptionForScopesInput, ApplySpacePlanInput, AssetDocumentOptionsInput, 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, CreateWorkspaceInput, CrowdstrikeFalconConfigurationOptionsInput, CveFilter, CveOrder, CveSummaryOrder, DataQueryFilter, DataQueryOrder, DeleteAPITokenInput, DeleteAgentsInput, DeleteAssetsInput, DeleteCasesInput, DeleteClientIntegrationInput, DeleteCustomPolicyInput, DeleteCustomQueryPackInput, DeleteFrameworkInput, DeleteProjectsInput, DeleteSSHKeyRequest, DeleteSSOProviderInput, DeleteServiceAccountsInput, DeleteWorkspacesInput, DownloadBundleInput, DownloadFrameworkInput, EbsScanOptionsInput, Ec2ScanOptionsInput, EmailConfigurationOptionsInput, EmailPreferenceInput, EmailRecipientInput, EmailTicketConfigInput, EnableSSOProviderInput, EolAssetsConfigurationInput, ExceptionGroupsInput, ExceptionMutationInput, ExceptionReviewInput, ExportReportFilterChecks, ExportReportFilterInventoryInput, ExportReportFilterPackages, ExportReportFilterVulnerabilitiesInput, ExportReportOptionsInput, 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, ListFrameworksInput, 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, SentinelOneConfigurationOptionsInput, 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, UpdateWorkspaceInput, UploadFrameworkInput, VPCConfigurationInput, VulnDashboardStatsInput, VulnerabilityDashboardPageInfo, VulnerabilityScoreFilter, VulnerabilityScoreOrder, WorkspaceConditionPossibleValuesInput, WorkspaceSelectionConditionInput, WorkspaceSelectionInput, WorkspaceSelectionIntConditionInput, WorkspaceSelectionRatingConditionInput, WorkspaceSelectionStringConditionInput, WorkspaceSelectionsInput, WorkspacesInput, ZendeskConfigurationOptionsInput, ZendeskCustomFieldInput. type Input interface{} // APITokenOrder @@ -209,6 +209,12 @@ type ApplySpacePlanInput struct { Deltas *[]SpacePlanQueryMutationDeltaInput `json:"deltas,omitempty"` } +// AssetDocumentOptionsInput represents input options for the asset of the document. +type AssetDocumentOptionsInput struct { + // The MRN of the asset to generate the report for. (Required.) + AssetMrn String `json:"assetMrn"` +} + // AssetEolFilter represents asset end-of-life filter. type AssetEolFilter struct { // Is end-of-life. (Required.) @@ -765,6 +771,8 @@ type ClientIntegrationConfigurationInput struct { AzureDevOpsConfigurationOptions *AzureDevopsConfigurationOptionsInput `json:"azureDevopsConfigurationOptions,omitempty"` // (Optional.) SentinelOneConfigurationOptions *SentinelOneConfigurationOptionsInput `json:"sentinelOneConfigurationOptions,omitempty"` + // (Optional.) + CrowdstrikeFalconConfigurationOptions *CrowdstrikeFalconConfigurationOptionsInput `json:"crowdstrikeFalconConfigurationOptions,omitempty"` } // ClientIntegrationInput represents input for client integration. @@ -1033,6 +1041,21 @@ type CreateWorkspaceInput struct { Description *String `json:"description,omitempty"` } +// CrowdstrikeFalconConfigurationOptionsInput represents crowdstrikeFalcon integration input. +type CrowdstrikeFalconConfigurationOptionsInput struct { + // Client ID used for authentication with CrowdStrike Falcon platform. (Required.) + ClientID String `json:"clientId"` + // Client Secret used for authentication with CrowdStrike Falcon platform. (Required.) + ClientSecret String `json:"clientSecret"` + + // The CrowdStrike Falcon cloud region. (Optional.) + Cloud *String `json:"cloud,omitempty"` + // CID selector for cases when the client id/secret has access to multiple CIDs. (Optional.) + MemberCID *String `json:"memberCID,omitempty"` + // createAssets is a flag to create assets in the backend when they are not found. (Optional.) + CreateAssets *Boolean `json:"createAssets,omitempty"` +} + // CveFilter represents cVE filters. type CveFilter struct { @@ -1322,6 +1345,45 @@ type ExceptionReviewInput struct { Action ExceptionReviewAction `json:"action"` } +// ExportReportFilterChecks +type ExportReportFilterChecks struct { + // (Required.) + Enable Boolean `json:"enable"` +} + +// ExportReportFilterInventoryInput +type ExportReportFilterInventoryInput struct { + // (Required.) + Enable Boolean `json:"enable"` + // (Required.) + Data Boolean `json:"data"` +} + +// ExportReportFilterPackages +type ExportReportFilterPackages struct { + // (Required.) + Enable Boolean `json:"enable"` +} + +// ExportReportFilterVulnerabilitiesInput +type ExportReportFilterVulnerabilitiesInput struct { + // (Required.) + Enable Boolean `json:"enable"` +} + +// ExportReportOptionsInput +type ExportReportOptionsInput struct { + + // (Optional.) + Inventory *ExportReportFilterInventoryInput `json:"inventory,omitempty"` + // (Optional.) + Vulnerabilities *ExportReportFilterVulnerabilitiesInput `json:"vulnerabilities,omitempty"` + // (Optional.) + Checks *ExportReportFilterChecks `json:"checks,omitempty"` + // (Optional.) + Packages *ExportReportFilterPackages `json:"packages,omitempty"` +} + // ForkFrameworkInput represents fork framework input. type ForkFrameworkInput struct { // The MRN of the framework to fork. (Required.) @@ -1403,6 +1465,10 @@ type GenerateDocumentInput struct { FrameworkOptions *FrameworkDocumentOptionsInput `json:"frameworkOptions,omitempty"` // Options for generating a control document. (Optional.) ControlOptions *ControlDocumentOptionsInput `json:"controlOptions,omitempty"` + // Options for generating an asset report document. (Optional.) + AssetReportOptions *AssetDocumentOptionsInput `json:"assetReportOptions,omitempty"` + // Options for generating an export document. (Optional.) + ExportOptions *ExportReportOptionsInput `json:"exportOptions,omitempty"` // Whether to capture debug information. (Optional.) CaptureDebug *Boolean `json:"captureDebug,omitempty"` } @@ -2873,6 +2939,8 @@ type WorkspaceConditionPossibleValuesInput struct { StringField *WorkspaceSelectionConditionStringField `json:"stringField,omitempty"` // Int field. (Optional.) IntField *WorkspaceSelectionConditionIntField `json:"intField,omitempty"` + // Rating field. (Optional.) + RatingField *WorkspaceSelectionConditionRatingField `json:"ratingField,omitempty"` } // WorkspaceSelectionConditionInput represents workspace selection condition. @@ -2884,6 +2952,8 @@ type WorkspaceSelectionConditionInput struct { StringCondition *WorkspaceSelectionStringConditionInput `json:"stringCondition,omitempty"` // Int condition. (Optional.) IntCondition *WorkspaceSelectionIntConditionInput `json:"intCondition,omitempty"` + // Rating condition. (Optional.) + RatingCondition *WorkspaceSelectionRatingConditionInput `json:"ratingCondition,omitempty"` } // WorkspaceSelectionInput represents workspace selection defining conditions for selecting assets for a workspace. @@ -2902,6 +2972,16 @@ type WorkspaceSelectionIntConditionInput struct { Values []Int `json:"values"` } +// WorkspaceSelectionRatingConditionInput represents workspace selection rating condition. +type WorkspaceSelectionRatingConditionInput struct { + // Field to match. (Required.) + Field WorkspaceSelectionConditionRatingField `json:"field"` + // Operator to use. (Required.) + Operator WorkspaceSelectionConditionRatingOperator `json:"operator"` + // Values to match. Values are ORed together. (Required.) + Values []ScoreRating `json:"values"` +} + // WorkspaceSelectionStringConditionInput represents workspace selection string condition. type WorkspaceSelectionStringConditionInput struct { // Field to match. (Required.) @@ -2922,6 +3002,9 @@ type WorkspaceSelectionsInput struct { type WorkspacesInput struct { // The scope of the workspaces to list. (Required.) ScopeMrn String `json:"scopeMrn"` + + // Query searches workspaces by name. (Optional.) + Query *String `json:"query,omitempty"` } // ZendeskConfigurationOptionsInput represents zendesk integration input.