diff --git a/go.mod b/go.mod index 4c80163c8..0bbc373b5 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.36.6 github.com/aws/aws-sdk-go-v2/config v1.29.18 github.com/aws/aws-sdk-go-v2/service/ec2 v1.232.0 - github.com/aws/aws-sdk-go-v2/service/ssm v1.60.0 + github.com/aws/aws-sdk-go-v2/service/ssm v1.60.2 github.com/mattn/go-isatty v0.0.20 github.com/onsi/ginkgo/v2 v2.23.4 github.com/onsi/gomega v1.38.0 diff --git a/go.sum b/go.sum index 5e32b5d95..cf00ffce5 100644 --- a/go.sum +++ b/go.sum @@ -20,8 +20,8 @@ github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.4 h1:CXV68E2 github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.4/go.mod h1:/xFi9KtvBXP97ppCz1TAEvU1Uf66qvid89rbem3wCzQ= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.18 h1:vvbXsA2TVO80/KT7ZqCbx934dt6PY+vQ8hZpUZ/cpYg= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.18/go.mod h1:m2JJHledjBGNMsLOF1g9gbAxprzq3KjC8e4lxtn+eWg= -github.com/aws/aws-sdk-go-v2/service/ssm v1.60.0 h1:YuMspnzt8uHda7a6A/29WCbjMJygyiyTvq480lnsScQ= -github.com/aws/aws-sdk-go-v2/service/ssm v1.60.0/go.mod h1:IyVabkWrs8SNdOEZLyFFcW9bUltV4G6OQS0s6H20PHg= +github.com/aws/aws-sdk-go-v2/service/ssm v1.60.2 h1:ZvLR/SUQGk8sR+bHl8vXT00zgJ+U1fHDzrlokzz9DDo= +github.com/aws/aws-sdk-go-v2/service/ssm v1.60.2/go.mod h1:H5QEq6SthlWMh8PXfSupp6uTg7iaJ3J36Cf15CPG5zE= github.com/aws/aws-sdk-go-v2/service/sso v1.25.6 h1:rGtWqkQbPk7Bkwuv3NzpE/scwwL9sC1Ul3tn9x83DUI= github.com/aws/aws-sdk-go-v2/service/sso v1.25.6/go.mod h1:u4ku9OLv4TO4bCPdxf4fA1upaMaJmP9ZijGk3AAOC6Q= github.com/aws/aws-sdk-go-v2/service/ssooidc v1.30.4 h1:OV/pxyXh+eMA0TExHEC4jyWdumLxNbzz1P0zJoezkJc= diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/CHANGELOG.md index 363d5b2e6..9ff54a7e4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.60.2 (2025-07-19) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.60.1 (2025-07-18) + +* **Documentation**: July 2025 doc-only updates for Systems Manager. + # v1.60.0 (2025-06-30) * **Feature**: Introduces AccessType, a new filter value for the DescribeSessions API. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_DescribeParameters.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_DescribeParameters.go index be88e3337..37cf26fec 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_DescribeParameters.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_DescribeParameters.go @@ -22,6 +22,11 @@ import ( // and a NextToken . You can specify the NextToken in a subsequent call to get the // next set of results. // +// Parameter names can't contain spaces. The service removes any spaces specified +// for the beginning or end of a parameter name. If the specified name for a +// parameter contains spaces between characters, the request fails with a +// ValidationException error. +// // If you change the KMS key alias for the KMS key used to encrypt a parameter, // then you must also update the key alias the parameter uses to reference KMS. // Otherwise, DescribeParameters retrieves whatever the original key alias was diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_GetParameter.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_GetParameter.go index d224b6ee7..5018ac1fa 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_GetParameter.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_GetParameter.go @@ -13,6 +13,11 @@ import ( // Get information about a single parameter by specifying the parameter name. // +// Parameter names can't contain spaces. The service removes any spaces specified +// for the beginning or end of a parameter name. If the specified name for a +// parameter contains spaces between characters, the request fails with a +// ValidationException error. +// // To get information about more than one parameter at a time, use the GetParameters operation. func (c *Client) GetParameter(ctx context.Context, params *GetParameterInput, optFns ...func(*Options)) (*GetParameterOutput, error) { if params == nil { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_GetParameterHistory.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_GetParameterHistory.go index 04c4450ee..91542a5e7 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_GetParameterHistory.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_GetParameterHistory.go @@ -13,6 +13,11 @@ import ( // Retrieves the history of all changes to a parameter. // +// Parameter names can't contain spaces. The service removes any spaces specified +// for the beginning or end of a parameter name. If the specified name for a +// parameter contains spaces between characters, the request fails with a +// ValidationException error. +// // If you change the KMS key alias for the KMS key used to encrypt a parameter, // then you must also update the key alias the parameter uses to reference KMS. // Otherwise, GetParameterHistory retrieves whatever the original key alias was diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_GetParameters.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_GetParameters.go index c4b52b76b..8c7f4968b 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_GetParameters.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_GetParameters.go @@ -15,6 +15,11 @@ import ( // names. // // To get information about a single parameter, you can use the GetParameter operation instead. +// +// Parameter names can't contain spaces. The service removes any spaces specified +// for the beginning or end of a parameter name. If the specified name for a +// parameter contains spaces between characters, the request fails with a +// ValidationException error. func (c *Client) GetParameters(ctx context.Context, params *GetParametersInput, optFns ...func(*Options)) (*GetParametersOutput, error) { if params == nil { params = &GetParametersInput{} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_GetParametersByPath.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_GetParametersByPath.go index 79d29cf5f..e3dff76aa 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_GetParametersByPath.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_GetParametersByPath.go @@ -21,6 +21,11 @@ import ( // results, it stops the operation and returns the matching values up to that point // and a NextToken . You can specify the NextToken in a subsequent call to get the // next set of results. +// +// Parameter names can't contain spaces. The service removes any spaces specified +// for the beginning or end of a parameter name. If the specified name for a +// parameter contains spaces between characters, the request fails with a +// ValidationException error. func (c *Client) GetParametersByPath(ctx context.Context, params *GetParametersByPathInput, optFns ...func(*Options)) (*GetParametersByPathOutput, error) { if params == nil { params = &GetParametersByPathInput{} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_LabelParameterVersion.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_LabelParameterVersion.go index 4dfa808b0..57f36ef3e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_LabelParameterVersion.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_LabelParameterVersion.go @@ -40,6 +40,11 @@ import ( // - Labels can't begin with a number, " aws " or " ssm " (not case sensitive). // If a label fails to meet these requirements, then the label isn't associated // with a parameter and the system displays it in the list of InvalidLabels. +// +// - Parameter names can't contain spaces. The service removes any spaces +// specified for the beginning or end of a parameter name. If the specified name +// for a parameter contains spaces between characters, the request fails with a +// ValidationException error. func (c *Client) LabelParameterVersion(ctx context.Context, params *LabelParameterVersionInput, optFns ...func(*Options)) (*LabelParameterVersionOutput, error) { if params == nil { params = &LabelParameterVersionInput{} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_PutComplianceItems.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_PutComplianceItems.go index 018eaaf93..12fed8ba4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_PutComplianceItems.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_PutComplianceItems.go @@ -27,32 +27,40 @@ import ( // - ExecutionTime. The time the patch, association, or custom compliance item // was applied to the managed node. // -// - Id: The patch, association, or custom compliance ID. +// For State Manager associations, this represents the time when compliance status // -// - Title: A title. +// was captured by the Systems Manager service during its internal compliance +// aggregation workflow, not necessarily when the association was executed on the +// managed node. State Manager updates compliance information for all associations +// on an instance whenever any association executes, which may result in multiple +// associations showing the same execution time. // -// - Status: The status of the compliance item. For example, approved for -// patches, or Failed for associations. +// - Id: The patch, association, or custom compliance ID. // -// - Severity: A patch severity. For example, Critical . +// - Title: A title. // -// - DocumentName: An SSM document name. For example, AWS-RunPatchBaseline . +// - Status: The status of the compliance item. For example, approved for +// patches, or Failed for associations. // -// - DocumentVersion: An SSM document version number. For example, 4. +// - Severity: A patch severity. For example, Critical . // -// - Classification: A patch classification. For example, security updates . +// - DocumentName: An SSM document name. For example, AWS-RunPatchBaseline . // -// - PatchBaselineId: A patch baseline ID. +// - DocumentVersion: An SSM document version number. For example, 4. // -// - PatchSeverity: A patch severity. For example, Critical . +// - Classification: A patch classification. For example, security updates . // -// - PatchState: A patch state. For example, InstancesWithFailedPatches . +// - PatchBaselineId: A patch baseline ID. // -// - PatchGroup: The name of a patch group. +// - PatchSeverity: A patch severity. For example, Critical . // -// - InstalledTime: The time the association, patch, or custom compliance item -// was applied to the resource. Specify the time by using the following format: -// yyyy-MM-dd'T'HH:mm:ss'Z' +// - PatchState: A patch state. For example, InstancesWithFailedPatches . +// +// - PatchGroup: The name of a patch group. +// +// - InstalledTime: The time the association, patch, or custom compliance item +// was applied to the resource. Specify the time by using the following format: +// yyyy-MM-dd'T'HH:mm:ss'Z' func (c *Client) PutComplianceItems(ctx context.Context, params *PutComplianceItemsInput, optFns ...func(*Options)) (*PutComplianceItemsOutput, error) { if params == nil { params = &PutComplianceItemsInput{} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_PutParameter.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_PutParameter.go index 144a9c852..8ebf1f541 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_PutParameter.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_PutParameter.go @@ -54,7 +54,10 @@ type PutParameterInput struct { // In addition, the slash character ( / ) is used to delineate hierarchies in // parameter names. For example: /Dev/Production/East/Project-ABC/MyParameter // - // - A parameter name can't include spaces. + // - Parameter names can't contain spaces. The service removes any spaces + // specified for the beginning or end of a parameter name. If the specified name + // for a parameter contains spaces between characters, the request fails with a + // ValidationException error. // // - Parameter hierarchies are limited to a maximum depth of fifteen levels. // diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_UnlabelParameterVersion.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_UnlabelParameterVersion.go index b5fa19294..57ff9f229 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_UnlabelParameterVersion.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_UnlabelParameterVersion.go @@ -11,6 +11,11 @@ import ( ) // Remove a label or labels from a parameter. +// +// Parameter names can't contain spaces. The service removes any spaces specified +// for the beginning or end of a parameter name. If the specified name for a +// parameter contains spaces between characters, the request fails with a +// ValidationException error. func (c *Client) UnlabelParameterVersion(ctx context.Context, params *UnlabelParameterVersionInput, optFns ...func(*Options)) (*UnlabelParameterVersionOutput, error) { if params == nil { params = &UnlabelParameterVersionInput{} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/doc.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/doc.go index b94bab033..f4cc4e73c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/doc.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/doc.go @@ -15,7 +15,7 @@ // in the Amazon Web Services Systems Manager User Guide. // // - For details about predefined runbooks for Automation, a tool in Amazon Web -// Services Systems Manager, see the [Systems Manager Automation runbook reference]. +// Services Systems Manager, see the [Systems Manager Automation Runbook Reference]. // // - For information about AppConfig, a tool in Systems Manager, see the [AppConfig User Guide]and the [AppConfig API Reference] // . @@ -25,7 +25,7 @@ // // [Amazon Web Services Systems Manager User Guide]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ // [AppConfig User Guide]: https://docs.aws.amazon.com/appconfig/latest/userguide/ -// [Systems Manager Automation runbook reference]: https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-runbook-reference.html +// [Systems Manager Automation Runbook Reference]: https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-runbook-reference.html // [AppConfig API Reference]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/ // [Systems Manager Incident Manager API Reference]: https://docs.aws.amazon.com/incident-manager/latest/APIReference/ // [Setting up Amazon Web Services Systems Manager]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up-console.html diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/go_module_metadata.go index 6a87d2b8e..d5c4b5f9c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/go_module_metadata.go @@ -3,4 +3,4 @@ package ssm // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.60.0" +const goModuleVersion = "1.60.2" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/types/types.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/types/types.go index 70ac5a890..c9d0c357b 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/types/types.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/types/types.go @@ -1550,6 +1550,12 @@ type ComplianceExecutionSummary struct { // The time the execution ran as a datetime object that is saved in the following // format: yyyy-MM-dd'T'HH:mm:ss'Z' // + // For State Manager associations, this timestamp represents when the compliance + // status was captured and reported by the Systems Manager service, not when the + // underlying association was actually executed on the managed node. To track + // actual association execution times, use the DescribeAssociationExecutionTargetscommand or check the association + // execution history in the Systems Manager console. + // // This member is required. ExecutionTime *time.Time @@ -1577,6 +1583,13 @@ type ComplianceItem struct { // A summary for the compliance item. The summary includes an execution ID, the // execution type (for example, command), and the execution time. + // + // For State Manager associations, the ExecutionTime value represents when the + // compliance status was captured and aggregated by the Systems Manager service, + // not necessarily when the underlying association was executed on the managed + // node. State Manager updates compliance status for all associations on an + // instance whenever any association executes, which means multiple associations + // may show the same execution time even if they were executed at different times. ExecutionSummary *ComplianceExecutionSummary // An ID for the compliance item. For example, if the compliance item is a Windows @@ -3127,6 +3140,32 @@ type InventoryDeletionSummaryItem struct { } // One or more filters. Use a filter to return a more specific list of results. +// +// Example formats for the aws ssm get-inventory command: +// +// --filters +// Key=AWS:InstanceInformation.AgentType,Values=amazon-ssm-agent,Type=Equal +// +// --filters Key=AWS:InstanceInformation.AgentVersion,Values=3.3.2299.0,Type=Equal +// +// --filters +// Key=AWS:InstanceInformation.ComputerName,Values=ip-192.0.2.0.us-east-2.compute.internal,Type=Equal +// +// --filters +// Key=AWS:InstanceInformation.InstanceId,Values=i-0a4cd6ceffEXAMPLE,i-1a2b3c4d5e6EXAMPLE,Type=Equal +// +// --filters Key=AWS:InstanceInformation.InstanceStatus,Values=Active,Type=Equal +// +// --filters Key=AWS:InstanceInformation.IpAddress,Values=198.51.100.0,Type=Equal +// +// --filters Key=AWS:InstanceInformation.PlatformName,Values="Amazon +// Linux",Type=Equal +// +// --filters Key=AWS:InstanceInformation.PlatformType,Values=Linux,Type=Equal +// +// --filters Key=AWS:InstanceInformation.PlatformVersion,Values=2023,Type=BeginWith +// +// --filters Key=AWS:InstanceInformation.ResourceType,Values=EC2Instance,Type=Equal type InventoryFilter struct { // The name of the filter key. @@ -3134,9 +3173,7 @@ type InventoryFilter struct { // This member is required. Key *string - // Inventory filter values. Example: inventory filter where managed node IDs are - // specified as values Key=AWS:InstanceInformation.InstanceId,Values= - // i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal . + // Inventory filter values. // // This member is required. Values []string @@ -5087,7 +5124,9 @@ type PatchRuleGroup struct { // only. type PatchSource struct { - // The value of the yum repo configuration. For example: + // The value of the repo configuration. + // + // Example for yum repositories // // [main] // @@ -5098,9 +5137,22 @@ type PatchSource struct { // enabled=1 // // For information about other options available for your yum repository - // configuration, see [dnf.conf(5)]. + // configuration, see [dnf.conf(5)]on the man7.org website. + // + // Examples for Ubuntu Server and Debian Server + // + // deb http://security.ubuntu.com/ubuntu jammy main + // + // deb https://site.example.com/debian distribution component1 component2 + // component3 + // + // Repo information for Ubuntu Server repositories must be specifed in a single + // line. For more examples and information, see [jammy (5) sources.list.5.gz]on the Ubuntu Server Manuals + // website and [sources.list format]on the Debian Wiki. // // [dnf.conf(5)]: https://man7.org/linux/man-pages/man5/dnf.conf.5.html + // [jammy (5) sources.list.5.gz]: https://manpages.ubuntu.com/manpages/jammy/man5/sources.list.5.html + // [sources.list format]: https://wiki.debian.org/SourcesList#sources.list_format // // This member is required. Configuration *string diff --git a/vendor/modules.txt b/vendor/modules.txt index 79039d7bd..a516990e3 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -72,7 +72,7 @@ github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding # github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.18 ## explicit; go 1.22 github.com/aws/aws-sdk-go-v2/service/internal/presigned-url -# github.com/aws/aws-sdk-go-v2/service/ssm v1.60.0 +# github.com/aws/aws-sdk-go-v2/service/ssm v1.60.2 ## explicit; go 1.22 github.com/aws/aws-sdk-go-v2/service/ssm github.com/aws/aws-sdk-go-v2/service/ssm/internal/endpoints