Releases: splunk/splunk-cloud-sdk-go
Release v1.12.0-beta.8
Non-breaking Changes
- Uses Go v1.20
- Adds ARM64 build
- Addresses vulnerabilities for in dependencies
- Minor Fix to Print statement to allow building
SCloud v8.0.0-beta.8
Non-breaking Changes
- New ARM64 binaries provided
Release v1.12.0-beta.7
Breaking Changes
-
Catalog service
:-
Apis whose name ends with
ById
have changed by removingById
in the name , and apis whose name ends withByResourceName
have changed by removingByResourceName
in the name. In details, the following apis' names have changed:- CreateActionForRuleById -> CreateActionForRule
- CreateAnnotationForDashboardbyId -> CreateAnnotationForDashboard
- CreateAnnotationForDatasetById -> CreateAnnotationForDataset
- CreateDatasetImportById -> CreateDatasetImport
- CreateFieldForDatasetById -> CreateFieldForDataset
- DeleteActionByIdForRuleById -> DeleteActionByIdForRule
- DeleteAnnotationOfDashboardById -> DeleteAnnotationOfDashboard
- DeleteAnnotationOfDatasetByResourceName -> DeleteAnnotationOfDataset
- DeleteDashboardByResourceName -> DeleteDashboard
- DeleteDatasetById -> DeleteDataset
- DeleteFieldByIdForDatasetById -> DeleteFieldByIdForDataset
- DeleteRuleById -> DeleteRule
- GetActionByIdForRuleById -> GetActionByIdForRule
- GetDashboardByResourceName -> GetDashboard
- GetDatasetById -> GetDataset
- GetFieldByIdForDatasetById -> GetFieldByIdForDataset
- GetRuleById -> GetRule
- ListActionsForRuleById -> ListActionsForRule
- ListAnnotationsForDashboardById -> ListAnnotationsForDashboard
- ListAnnotationsForDatasetByResourceName -> ListAnnotationsForDataset
- ListFieldsForDatasetById -> ListFieldsForDataset
- UpdateActionByIdForRuleById -> UpdateActionByIdForRule
- UpdateDashboardByResourceName -> UpdateDashboard
- UpdateDatasetById -> UpdateDataset
- UpdateRuleById -> UpdateRule
-
Apis of
CreateAnnotationForDashboardsByResourceName
,CreateDatasetImportByIdv1
,CreateWorkflow
,CreateWorkflowBuild
,CreateWorkflowRun
,DeleteWorkflowBuildById
,DeleteWorkflowById
,GetWorkflowBuildById
,GetWorkflowRunById
,ListWorkflows
,UpdateWorkflowBuildById
were removed
-
-
Seach service
:RefreshFederatedConnection()
andTestFederatedConnection()
removed input parameter ofbody
Non-Breaking Changes
- New apis in
identity service
:GetEntitlements
,UpdateEntitlements
- New apis in
search sevice
:CreateDataset
,DeleteDatasetById
,GetDatasetById
,ListDatasets
,GetAllFederatedConnections
Features
SCloud v8.0.0-beta.7
Breaking Changes
- Catalog:
- Commands end with
by-id
has been changed by removing theby-id
postfix - Commands end with
by-resource-name
has been changed by removing theby-resource-name
postfix - Comands on workflow have been removed
- Commands end with
Non-Breaking Changes
- New identity commands:
get-entitlements
,update-entitlements
- New search commands:
create-dataset
,delete-dataset-by-id
,get-all-federated-connections
,get-dataset-by-id
,list-datasets
Release v1.12.0-beta.6
Version 1.12.0-beta.6
Breaking Changes
- Identity
IdentityProviderConfigBody
model removed field:Kind
Non-Breaking Changes
- Identity new APIs:
CreateSamlClient
,DeleteSamlClient
,GetSamlClient
,ListSamlClients
,UpdateSamlClient
- Search new APIs:
CreateFederatedConnection
,DeleteFederatedConnection
,GetFederatedConnectionByName
,PutFederatedConnectionByName
,RefreshFederatedConnection
,TestFederatedConnection
Features
idp
package error messaging improved to provide url and requestId information for improved debugging.
SCloud v8.0.0-beta.6
Breaking Changes
- Identity
create-identity-provider
removed param:kind
Non-Breaking Changes
- New identity commands:
create-saml-client
,delete-saml-client
,get-saml-client
,list-saml-clients
,update-saml-client
- Identity
create-identity-provider
command new params:enabled-jit
,groups
- New search commands:
create-federated-connection
,delete-federated-connection
,get-federated-connection-by-name
,put-federated-connection-by-name
,refresh-federated-connection
,test-federated-connection
- Streams
upgrade-pipeline
command new param:validate-save-point
- Streams
compile
command now accepts standard SPL format for file input, fix earlier issue where quotes and newlines were required for JSON formatting - Forwarders
add-certificate
command now accepts standard PEM file format, fix earlier issue where quotes and newlines were required for JSON formatting
Features
- scloud login command improved to provide url and requestId information for improved debugging. Use
scloud login --logtostderr
for more detailed debugging information.
Release v1.12.0-beta.5
Version 1.12.0-beta.5
Non-Breaking Changes
-
KVstore service :
DeleteRecordsQueryParams
struct has added a new parameter ofEnableMvl
;QueryRecordsQueryParams
struc has added new optional input parameters ofEnableMvl
andShared
-
Streams service: new api of
DeleteSource()
is added
Features
- Add connection timeouts to default retry functionality in GO sdk client
SCloud v8.0.0-beta.5
Non-Breaking Changes
-
KVstore commands: New flag
enable-mvl
is added todelete-records
command; New flagsenable-mvl
andshared
is added toquery-records
command -
Streams commands: New command of
delete-source
is added
Release v1.12.0-beta.4
Version 1.12.0-beta.4
Breaking Changes
-
Ingest Service (v1beta2):
- Model
HECResponse
andInlineObject
have been removed
- Model
-
KVStore Service (v1beta1):
- Model
Key
renamed toRecord
and has an additional required fieldUser
- Endpoints
InsertRecord
andPutRecord
have returnType Record (earlier it wasKey
)
- Model
Non-Breaking Changes
-
Identity Service (v3):
- Models
ResetPasswordBody
,UpdateGroupBody
,UpdatePasswordBody
andUpdateRoleBody
have been added - Endpoints
ResetPassword
,UpdatePassword
,UpdateGroup
andUpdateRole
have been added - Parameters
Description
andDisplayName
have been added to modelsCreateGroupBody
,CreateRoleBody
,Role
, andGroup
.
- Models
-
Streams Service (v3beta1):
- Models
PipelineReactivateResponseAsync
,PipelineReactivationStatus
,UpgradePipelineRequest
andValidateConnectionRequest
have been added. - Parameter
SkipValidation
has been added toCreateConnection
endpoint - Parameter
CreateUserId
has been added toListTemplates
endpoint - Endpoints
ReactivationStatus
,ValidateConnection
, andUpgradePipeline
have been added - Parameter
Metadata
has been added toConnectorResponse
- Parameter
Labels
has been added toPipelinePatchRequest
,PipelineRequest
andPipelineResponse
models - Parameter
UberJarSha256
has been added toPipelineResponse
model ACTIVATING
andDEACTIVATING
added to modelPipelineResponse
status enum
- Models
SCloud v8.0.0-beta.4
Non-Breaking Changes
- Identity command:
- New commands
reset-password
,update-group
,update-password
andupdate-role
were added - New flags
description
anddisplay-name
added forcreate-group
,create-role
,update-group
andupdate-role
commands
- New commands
- Streams command:
- New commands
reactivation-status
,upgrade-pipeline
andvalidate-connection
were added - New flag
skip-validation
added forcreate-connection
command - New flag
labels
added forcreate-pipeline
,patch-pipeline
andupdate-pipeline
commands - New flag
create-user-id
added forlist-templates
command
- New commands
Release v1.12.0-beta.3
Version 1.12.0-beta.3
Non-Breaking Changes
- Modified ingestSearch example to not fail on receiving 429 or 500 http error
SCloud v8.0.0-beta.3
Non-Breaking Changes
- Support SCS environment playground:
New environmentplayground-scs
can be specified to targetapi.playground.scs.splunk.com
environment out-of-the-box
Release v1.12.0-beta.2
Version 1.12.0-beta.2
Breaking Changes
- Identity service:
UseDefaultIdp
optional property was removed fromTenant
in model - Ingest service:
PostCollectorRaw
andPostCollectorRawV1
APIs were removed - Streams service:
CreateDataStream
,DeleteDataStream
,DescribeDataStream
,ListDataStreams
, andUpdateDataStream
APIs were removed
Non-Breaking Changes
-
Search service: updated to target v2 endpoints (previously v2beta1) including new endpoint:
ExportResults
-
Identity service: added new APIs of
CreateIdentityProvider
,DeleteIdentityProvider
,GetIdentityProvider
,ListIdentityProvider
, andUpdateIdentityProvider
;
New optional propertyAcceptTos
forCreatePrincipalBody
was added in model -
Streams service: Added a new API of
UploadLookupFile
SCloud v8.0.0-beta.2
Breaking Changes
- Ingest command: removed
post-collector-raw
andpost-collector-raw-v-1
commands - Streams command: removed commands of
create-data-stream
,delete-data-stream
,describe-data-stream
,list-data-streams
,update-data-stream
Non-Breaking Changes
- Search command: updated to v2 endpoints (previously v2beta1) including new commmand:
export-results
- Identity commmand: new commands of
create-identity-provider
,delete-identity-provider
,get-identity-provider
,update-identity-provider
were added; new--accept-tos
flag for identitycreate-principal
commmand - Streams command: new command of
upload-lookup-file
was added
Release v1.12.0-beta.1
Version 1.12.0-beta.1
- Added support for multipart/form data endpoints
- Multi-cell support:
- Added support for tenant/region scoped hostnames to invoke tenant and system based api, auth domain endpoints
- New config settings to create SDK/Auth client -> tenantScoped bool, region, tenant
- BREAKING change: IDP TokenRetrievers such as NewClientCredentialsRetriever now accept hostURL config which consists of tenantScoped, region, tenant parameters
- To enable tenantScoped(multi-cell), set tenantScoped to True
- Enabling tenantScoped setting in the auth client will only generate tenant scoped tokens
SCloud v8.0.0-beta.1
- Multi-cell support:
- New flag --region to specify region for system scoped api calls
- New flag --tenant-scoped to enable tenant/region scoping of the hostnames to support multi-celll (by default tenantScoped is set to False currently in scloud)
- Support SCS environments gstage and prod:
New environments staging-scs and prod-scs can be specified to target gstage and gprod environments out-of-the-box - Support Device flow authentication:
- scloud login by default points to device-flow for the staging-scs and prod-scs environments
- To login using device-flow
scloud config set -—key username -—value
scloud config set -—key tenant -—value
scloud config set -—key env -—value staging-scs
scloud login -—use-device or scloud login - To login using pkce-flow
scloud login -—use-pkce - To login using refresh-flow (once logged in via one of the above flows)
scloud login -—use-refresh-token
- BREAKING change: Added required flag
tenant
to the context set command- To set a context
scloud context set --key access_token --value --tenant
- To set a context
- Added support to list contexts
- To list all the contexts
scloud context list - To list context specific to a given tenant
scloud context list --tenant
- To list all the contexts
Release v1.11.1
Version 1.11.1
Bugfix
- Bugfix in scloud
SCloud v7.1.0
Bugfix
- Fixed scloud panic when ~/.scloud_context file is missing
Release v1.11.0
Version 1.11.0
Services
Breaking Changes
Features
-
Identity v2beta1:
- Version
v2beta1
replaced by new versionv3
- Version
-
Provisioner v1beta1
- Models
CreateProvisionJobBody
,ProvisionJobInfo
,ProvisionJobInfoErrors
,ProvisionJobInfoErrors
and 'ProvisionJobs' removed - Endpoints
CreateProvisionJob
,GetProvisionJob
andListProvisionJobs
removed
- Models
-
Streams v3beta1:
-
Models
CollectJobPatchRequest
,CollectJobRequest
,CollectJobResponse
,CollectJobStartStopResponse
,EntitlementRequest
,EntitlementResponse
,PaginatedResponseOfCollectJobResponse
,PaginatedResponseOfPlugin
,PaginatedResponseOfRulesResponse
,PaginatedResponseOfRuleKind
,Plugin
,PluginPatchRequest
,PluginRequest
,PluginResponse
,RulesRequest
andRulesResponse
removed -
Model
UploadFile
renamed toUploadFileResponse
-
Endpoints
CreateCollectJob
,CreateRulesPackage
,DeleteCollectJobs
,DeleteCollectJob
,DeleteEntitlements
,DeletePlugin
,DeleteRulesPackage
,GetCollectJob
,GetEntitlements
,GetPlugins
,GetRulesPackageById
,
ListCollectJobs
,ListRulesKinds
,ListRulesPackages
,PatchPlugin
,RegisterPlugin
,ReleaseInfo
,SetEntitlements
,StartCollectJob
,StopCollectJob
,UpdateCollectJob
,UpdatePlugin
andUpdateRulesPackageById
-
Non-Breaking Changes
Features
-
Added Device flow token retriever support
-
Ingest v1beta2:
- New endpoints
PostCollectorRaw
andPostCollectorRawV1
added
- New endpoints
-
Streams v2beta1:
- New property
Attributes
added toConnectorResponse
- New property
StatusDescription
added toPipelineReactivateResponse
- New parameter
functionOp
added tolistConnections
- New property
-
Streams v3beta1
- New model
UploadFileResponse
added - New endpoint
DeleteLookupFile
,GetLookupFileMetadata
andGetLookupFilesMetadata
added
- New model
SCloud v7.0.0
Breaking Changes
- Provisioner Command
- Removed :
- create-provision-job
- get-provision-job
- list-provision-job
- Removed :
- Streams Command
- Removed :
- create-collect-job
- create-rules-package
- delete-collect-job
- delete-entitlements
- delete-plugin
- delete-rules-package
- get-collect-job
- get-entitlements
- get-plugins
- get-rules-package-by-id
- list-collect-job
- list-rules-kinds
- list-rules-packages
- patch-plugin
- register-plugin
- release-info
- set-entitlements
- start-collect-job
- stop-collect-job
- update-collect-job
- update-plugin
- update-rules-package-by-id
- upload-plugin
- Removed :
Non-Breaking Changes
-
Added support for Keycloak authorization flow to enable scloud to get and set session token from the cookies
-
Identity Command
- Added :
- create-principal
- New parameters orderby, page-size and page-token added :
- list-group-members
- list-group-roles
- list-groups
- list-member-groups
- list-member-permissions
- list-member-roles
- list-principals
- list-role-groups
- list-role-permissions
- list-roles
- New parameters kind, orderby, page-size and page-token added :
- list-members
- Added :
-
Ingest Command
- Added :
- post-collector-raw
- post-collector-raw-v-1
- Added :
-
Streams Command
- Added :
- delete-lookup-file
- get-lookup-file-metadata
- get-lookup-files-metadata
- Added :