Documentation ¶
Index ¶
- Constants
- func HandleNotFoundError(err error, d *schema.ResourceData, resource string) error
- func IsChronicleAPIErrorWithCode(err error, errCode int) bool
- func NewNotFoundErrorf(format string, a ...interface{}) error
- func Provider() *schema.Provider
- type ConcreteFeedExpandFunc
- type ConcreteFeedFlattenFunc
- type ConcreteFeedResource
- type ResourceFeedAmazonS3
- type ResourceFeedAmazonSQS
- type ResourceFeedAzureBlobStore
- type ResourceFeedGoogleCloudStorageBucket
- type ResourceFeedMicrosoftOffice365ManagementActivity
- type ResourceFeedOktaSystemLog
- type ResourceFeedProofpointSIEM
- type ResourceFeedQualysVM
- type ResourceFeedThinkstCanary
- type ResourceOktaUsers
Constants ¶
View Source
const ( FeedStateActive = "ACTIVE" FeedStateInactive = "INACTIVE" FeedStateInProgress = "IN_PROGRESS" FeedStateCompleted = "COMPLETED" FeedStateFailed = "FAILED" )
Feed State as returned from Chronicle Feed API.
View Source
const ( FeedS3SourceDeleteOptionDeletionNever = "SOURCE_DELETION_NEVER" FeedS3SourceDeleteOptionDeletionOnSuccess = "SOURCE_DELETION_ON_SUCCESS" FeedS3SourceDeleteOptionDeletionOnSuccessFilesOnly = "SOURCE_DELETION_ON_SUCCESS_FILES_ONLY" )
View Source
const ( FeedS3SourceTypeFiles = "FILES" FeedS3SourceTypeFolders = "FOLDERS" FeedS3SourceTypeFoldersRecursive = "FOLDERS_RECURSIVE" )
View Source
const ( FeedAzureBlobStoreSourceTypeFiles = "FILES" FeedAzureBlobStoreSourceTypeFolders = "FOLDERS" FeedAzureBlobStoreSourceTypeFoldersRecursive = "FOLDERS_RECURSIVE" )
View Source
const ( FeedGoogleCloudStorageBucketSourceDeleteOptionDeletionNever = "SOURCE_DELETION_NEVER" FeedGoogleCloudStorageBucketSourceDeleteOptionDeletionOnSuccess = "SOURCE_DELETION_ON_SUCCESS" FeedGoogleCloudStorageBucketSourceDeleteOptionDeletionOnSuccessFilesOnly = "SOURCE_DELETION_ON_SUCCESS_FILES_ONLY" )
View Source
const ( FeedGoogleCloudStorageBucketSourceTypeFiles = "FILES" FeedGoogleCloudStorageBucketSourceTypeFolders = "FOLDERS" FeedGoogleCloudStorageBucketSourceTypeFoldersRecursive = "FOLDERS_RECURSIVE" )
View Source
const ( FeedMicrosoftOffice365ManagementActivityContentTypeAuditAzureActiveDirectory = "AUDIT_AZURE_ACTIVE_DIRECTORY" FeedMicrosoftOffice365ManagementActivityContentTypeAuditExchange = "AUDIT_EXCHANGE" FeedMicrosoftOffice365ManagementActivityContentTypeAuditGeneral = "AUDIT_GENERAL" FeedMicrosoftOffice365ManagementActivityContentTypeDPLAll = "DLP_ALL" )
View Source
const ( RBACSubjectTypeAnalyst = "SUBJECT_TYPE_ANALYST" RBACSubjectTypeIDPGroup = "SUBJECT_TYPE_IDP_GROUP" )
View Source
const FeedAzureBlobStoreSourceDeleteOptionDeletionNever = "SOURCE_DELETION_NEVER"
View Source
const (
FiveMinutesTimeout = 5 * time.Minute
)
Variables ¶
This section is empty.
Functions ¶
func HandleNotFoundError ¶
func HandleNotFoundError(err error, d *schema.ResourceData, resource string) error
func NewNotFoundErrorf ¶
Types ¶
type ConcreteFeedExpandFunc ¶
type ConcreteFeedExpandFunc func(d *schema.ResourceData) chronicle.ConcreteFeedConfiguration
A ConcreteFeedExpandFunc retunrs a ConcreteFeedConfiguration from ResourceData attributes.
type ConcreteFeedFlattenFunc ¶
type ConcreteFeedFlattenFunc func(originalConf chronicle.ConcreteFeedConfiguration, readConf chronicle.ConcreteFeedConfiguration) []map[string]interface{}
A ConcreteFeedFlattenFunc flatten a ConcreteFeedConfiguration using an original and a read value.
type ConcreteFeedResource ¶
type ConcreteFeedResource interface {
// contains filtered or unexported methods
}
ConcreteFeedResource interface contains methods to be implemented by specific feed resources such as S3.
type ResourceFeedAmazonS3 ¶
func NewResourceFeedAmazonS3 ¶
func NewResourceFeedAmazonS3() *ResourceFeedAmazonS3
type ResourceFeedAmazonSQS ¶
func NewResourceFeedAmazonSQS ¶
func NewResourceFeedAmazonSQS() *ResourceFeedAmazonSQS
type ResourceFeedAzureBlobStore ¶
func NewResourceFeedAzureBlobStore ¶
func NewResourceFeedAzureBlobStore() *ResourceFeedAzureBlobStore
type ResourceFeedGoogleCloudStorageBucket ¶
func NewResourceFeedGoogleCloudStorageBucket ¶
func NewResourceFeedGoogleCloudStorageBucket() *ResourceFeedGoogleCloudStorageBucket
type ResourceFeedMicrosoftOffice365ManagementActivity ¶
func NewResourceFeedMicrosoftOffice365ManagementActivity ¶
func NewResourceFeedMicrosoftOffice365ManagementActivity() *ResourceFeedMicrosoftOffice365ManagementActivity
type ResourceFeedOktaSystemLog ¶
func NewResourceFeedOktaSystemLog ¶
func NewResourceFeedOktaSystemLog() *ResourceFeedOktaSystemLog
type ResourceFeedProofpointSIEM ¶
func NewResourceFeedProofpointSIEM ¶
func NewResourceFeedProofpointSIEM() *ResourceFeedProofpointSIEM
type ResourceFeedQualysVM ¶
func NewResourceFeedQualysVM ¶
func NewResourceFeedQualysVM() *ResourceFeedQualysVM
type ResourceFeedThinkstCanary ¶
func NewResourceFeedThinkstCanary ¶
func NewResourceFeedThinkstCanary() *ResourceFeedThinkstCanary
type ResourceOktaUsers ¶
func NewResourceFeedOktaUsers ¶
func NewResourceFeedOktaUsers() *ResourceOktaUsers
Source Files ¶
- errors_helper.go
- feed_helper.go
- provider.go
- resource_feed_amazon_s3.go
- resource_feed_amazon_sqs.go
- resource_feed_azure_blobstore.go
- resource_feed_google_cloud_storage_bucket.go
- resource_feed_microsoft_office_365_management_activity.go
- resource_feed_okta_system_log.go
- resource_feed_okta_users.go
- resource_feed_proofpoint_siem.go
- resource_feed_qualys_vm.go
- resource_feed_thinkst_canary.go
- resource_rbac_subject.go
- resource_reader.go
- resource_reference_list.go
- resource_rule.go
- timeout.go
- util.go
- validation.go
Click to show internal directories.
Click to hide internal directories.