- provider/resources/objectgroup.go: Check if
options
config is defined before trying to merge it with read object group
- provider/resources/view.go: Add better nil checking around
predicates
- provider/resources/objectgroup.go: Decouple
target_active_index
,index_retention
,index_parallelism
, andlive_events_parallelism
- docs/guides/monitors.md: Update
throttle
to useMINUTES
instead ofMIN
- client/models.go: Adjust
CreateMonitorRequest
to be used more broadly accross reads and writes, renamed toMonitorBody
. MakeThrottle
nullable, fixing action creation w/o throttle. CreateReadMonitorResponse
- client/monitor.go: Flesh out
ReadMonitor
- provider/examples/main.tf: Update
throttle
example to haveMINUTES
unit - provider/resources/monitor.go:
resourceMonitorRead
actually performs a read call now. Fix swapped msg and subject onCreateMonitorRequest
- provider/tests/monitors_test.go: Net new
Monitor
acceptance testing
- client/models.go: Adjust
Condition
to be composed of interfaces, fixes missing condition types on creatinguser_group
- provider/resources/objectgroup.go: Check for specific field changes prior to sending an update for Object Groups
- provider/resources/index.go: Skip indexing await if the chosen model mode < 0
- client/models.go: Fix some json mappings for ReadeViewResp
- provider/resources/objectgroup.go: Re-add
live_events
, add a deprecation warning, ensure it conflicts with other live_events configuratios - provider/provider.go: Add small validation func for ensuring the cluster url starts with
https://
- docs/guides/*: Added some basic guides on how to manage different resources with dependencies
- docs/resources/subaccount.md: Add group_ids to example
- docs/resources/view.md: Add an example JQ Transform
- docs/resources/objectgroup.md: Update live events examples to reflect gcp additions
- provider/resources/index.go: Invoke a pause, validate state, and ensure all indexes are deleted on tear down
- provider/resources/objectgroup.go: Enable
live_events_gcp
, renamelive_events
->live_events_aws
- client/models.go: Extend out
Transforms
type to containqueries
for JQ Transforms
- provider/resources/objectgroup.go: Fixed updates in place for
options
on apply - client/models.go: Adjust Conditions so that they are omited when empty for
user_groups
- provider/resources/objectgroup.go:
strip_prefix
is no longer configurable, but will be decided based on format type - .github/workflows/release.yml: Update golang version to match module
- provider/resources/objectgroup.go: remove
ignore_irregular
from config due to being forced true
- provider/tests/destinations_test.go: Init destination testing
- provider/tests/*: Enhance test extensibility, ensure tests run in parallel
- provider/resources/index.go: Moved extra configurations to an
options
block - provider/resources/index.go: introduces
skip_index_pause
If you don't want to wait for index completion
- provider/resources/objectgroup.go: Fix
strip_prefix
on read
- provider/resources/objectgroup.go: Enable unlimited
array_flatten_depth
by passing-1
- provider/resources/objectgroup.go: Schema and read data mapping updates for update in-place discrepancies
- provider/tests/*: Acceptance test improvements
- provider/resources/objectgroup.go: Touching up
PartitionBy
type casting
- client/client.go: Retry function used to truncate the original error for a failed request
- client/objectgroup.go: if req.PartitionBy is an empty string, do not put it in request body
- provider/resources/objectgroup.go:
strip_prefix
default true
- provider/resources/objectgroup.go: Making
PartitionBy
read backwards compatible between CS releases
- provider/resources/objectgroup.go: There was a change with how Filters are structured in ReadObjectGroup from the API, particularly for regex
- This was found on CS release
8a1fa185cd
- Should have a fallback mechanism to account for older clusters
- This was found on CS release
- client/models.go: Plumb through
ArrayFlattenDepth
,StripPrefix
, andHorizontal
- provider/examples.go: Add selection policy examples
- client/client.go & provider/provider.go:
retry_count
is now available underprovider.options
config
- client/client.go:
ioutil.ReadAll()
was deprecated, function moved toio
- provider/resources/objectgroup.go: Add support for format's
array_selection
,field_selection
andvertical_selection
- provider/resources/objectgroup.go: Add support for option's
col_selection
andcol_renames
- provider/resources/objectgroup.go: Add support for
partition_by
andtarget_active_index
(on create)
- provider/resources/destinations.go & provider/resources/monitor.go: Add validation against API key auth
- provider/provider.go: Check for nil pointer on auth token when using API key auth
- client/client.go: Added retry with exponential back off, accumulative 15 second backoff
- provider/provdier.go: API Keys are no longer required if using login cred auth
- provider/resources/view.go:
transforms
now supports json attributes for all types of transforms
- provider/resources/view.go: Fix
transforms
json encoding string -> map[string]interface
- provider/resources/objectgroup.go:
range
related filters now have support, although currently disabled - provider/resources/objectgroup.go:
live_events
are now enabled - provider/resources/objectgroup.go:
compression
type is now specifiable inoptions
- provider/resources/destinations.go:
destinations
are now a supported resource for kibana alerts - provider/resources/monitors.go:
monitors
are now a supported resource for kibana alerts
- provider/resources/objectgroup.go: Pull apart
filter
to more reflect API. Extends supportedfilter
types
- client/bucket.go: Pass in bucket tagging header, enables more types on datasources/objectgroup & view
- provider/resources/objectgroup.go: Change
Compression
from computed to optional, moved intooptions
block
- docs/resources/*: Documentation has been included for resources
- provider/resources/objectgroup.go: Removed
interval
andindex_retention.for_partition
for simplicity and redundancy
- provider/resources/view.go: Enable users to provide multiple
preds
in views - provider/provider.go: Enable the usage of API Key driven Auth
- provider/resources/view.go: Simplify
ViewRequestDTO
, rename toViewData
- client/clientrequest.go: Add a note to JWT parsing error indicating failed authentication
- client/clientrequest.go: Break up request construction to allow for API Key driven auth
- CHANGELOG.md: Adding
- provider/resources/usergroup.go: Convert
chaossearch_user_group
resource to take in json forpermissions
attribute
- provider/resources/index.go: Catch error thrown by
client.ReadIndexModel()
- provider/resources/objectgroup.go: Add checking to ensure
index_retention.overall
andtarget_active_index
have valid values - provider/resources/index.go: Enable a
delete_timeout
to be configured for index deletion - provider/resources/usergroup.gp: Flatten
user_group
schema for easier maintenance and readability - provider/tests/provider_test.go: Add random UUID to to generated resources names
- provider/resources/view.go: Pass in
cacheable
intoCreateViewRequest
- provider/resources/usergroup.go: Enable
user_group
ids to be stored in state, allowing for proper updates