diff --git a/go.mod b/go.mod index 15edb2632..a14ca94b4 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.36.5 github.com/aws/aws-sdk-go-v2/config v1.29.17 github.com/aws/aws-sdk-go-v2/service/ec2 v1.224.0 - github.com/aws/aws-sdk-go-v2/service/ssm v1.59.0 + github.com/aws/aws-sdk-go-v2/service/ssm v1.60.0 github.com/mattn/go-isatty v0.0.20 github.com/onsi/ginkgo/v2 v2.23.4 github.com/onsi/gomega v1.37.0 diff --git a/go.sum b/go.sum index b1c086d31..19ec5221a 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.17 h1:t0E6FzREdtCsiLIoLCWsYliNsRBgyGD/MCK571qk4MI= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.17/go.mod h1:ygpklyoaypuyDvOM5ujWGrYWpAK3h7ugnmKCU/76Ys4= -github.com/aws/aws-sdk-go-v2/service/ssm v1.59.0 h1:KWArCwA/WkuHWKfygkNz0B6YS6OvdgoJUaJHX0Qby1s= -github.com/aws/aws-sdk-go-v2/service/ssm v1.59.0/go.mod h1:PUWUl5MDiYNQkUHN9Pyd9kgtA/YhbxnSnHP+yQqzrM8= +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/sso v1.25.5 h1:AIRJ3lfb2w/1/8wOOSqYb9fUKGwQbtysJ2H1MofRUPg= github.com/aws/aws-sdk-go-v2/service/sso v1.25.5/go.mod h1:b7SiVprpU+iGazDUqvRSLf5XmCdn+JtT1on7uNL6Ipc= github.com/aws/aws-sdk-go-v2/service/ssooidc v1.30.3 h1:BpOxT3yhLwSJ77qIY3DoHAQjZsc4HEGfMCE4NGy3uFg= 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 fcf1e056e..363d5b2e6 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,20 @@ +# v1.60.0 (2025-06-30) + +* **Feature**: Introduces AccessType, a new filter value for the DescribeSessions API. + +# v1.59.3 (2025-06-17) + +* **Dependency Update**: Update to smithy-go v1.22.4. +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.59.2 (2025-06-10) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.59.1 (2025-06-06) + +* No change notes available for this release. + # v1.59.0 (2025-04-29) * **Feature**: This release adds support for just-In-time node access in AWS Systems Manager. Just-in-time node access enables customers to move towards zero standing privileges by requiring operators to request access and obtain approval before remotely connecting to nodes managed by the SSM Agent. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_DescribeDocument.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_DescribeDocument.go index 5b81b8ce4..aef5d76da 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_DescribeDocument.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_DescribeDocument.go @@ -32,6 +32,9 @@ type DescribeDocumentInput struct { // The name of the SSM document. // + // If you're calling a shared SSM document from a different Amazon Web Services + // account, Name is the full Amazon Resource Name (ARN) of the document. + // // This member is required. Name *string diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_DescribeDocumentPermission.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_DescribeDocumentPermission.go index b65d242e5..13bc10236 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_DescribeDocumentPermission.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/api_op_DescribeDocumentPermission.go @@ -56,7 +56,7 @@ type DescribeDocumentPermissionInput struct { type DescribeDocumentPermissionOutput struct { // The account IDs that have permission to use this document. The ID can be either - // an Amazon Web Services account or All. + // an Amazon Web Services account number or all . AccountIds []string // A list of Amazon Web Services accounts where the current document is shared and diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/deserializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/deserializers.go index 9577bd420..0432e3542 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/deserializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/deserializers.go @@ -1034,6 +1034,9 @@ func awsAwsjson11_deserializeOpErrorCreateDocument(response *smithyhttp.Response case strings.EqualFold("MaxDocumentSizeExceeded", errorCode): return awsAwsjson11_deserializeErrorMaxDocumentSizeExceeded(response, errorBody) + case strings.EqualFold("TooManyUpdates", errorCode): + return awsAwsjson11_deserializeErrorTooManyUpdates(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -1997,6 +2000,9 @@ func awsAwsjson11_deserializeOpErrorDeleteDocument(response *smithyhttp.Response case strings.EqualFold("InvalidDocumentOperation", errorCode): return awsAwsjson11_deserializeErrorInvalidDocumentOperation(response, errorBody) + case strings.EqualFold("TooManyUpdates", errorCode): + return awsAwsjson11_deserializeErrorTooManyUpdates(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -16403,6 +16409,9 @@ func awsAwsjson11_deserializeOpErrorUpdateDocumentMetadata(response *smithyhttp. case strings.EqualFold("InvalidDocumentVersion", errorCode): return awsAwsjson11_deserializeErrorInvalidDocumentVersion(response, errorBody) + case strings.EqualFold("TooManyUpdates", errorCode): + return awsAwsjson11_deserializeErrorTooManyUpdates(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -42542,6 +42551,15 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ for key, value := range shape { switch key { + case "AccessType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AccessType to be of type string, got %T instead", value) + } + sv.AccessType = types.AccessType(jtv) + } + case "Details": if value != nil { jtv, ok := value.(string) 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 bc6631226..b94bab033 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 @@ -28,7 +28,7 @@ // [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.html +// [Setting up Amazon Web Services Systems Manager]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up-console.html // [Systems Manager Incident Manager User Guide]: https://docs.aws.amazon.com/incident-manager/latest/userguide/ // [Using Systems Manager tools]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-tools.html package ssm 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 5fe761ab0..6a87d2b8e 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.59.0" +const goModuleVersion = "1.60.0" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/internal/endpoints/endpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/internal/endpoints/endpoints.go index 94f400916..21187ddbd 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/internal/endpoints/endpoints.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/internal/endpoints/endpoints.go @@ -147,6 +147,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "ap-east-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-east-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-northeast-1", }: endpoints.Endpoint{}, diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/types/enums.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/types/enums.go index 8b01f61f0..69c17596d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/types/enums.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssm/types/enums.go @@ -27,6 +27,25 @@ func (AccessRequestStatus) Values() []AccessRequestStatus { } } +type AccessType string + +// Enum values for AccessType +const ( + AccessTypeStandard AccessType = "Standard" + AccessTypeJustintime AccessType = "JustInTime" +) + +// Values returns all known values for AccessType. Note that this can be expanded +// in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (AccessType) Values() []AccessType { + return []AccessType{ + "Standard", + "JustInTime", + } +} + type AssociationComplianceSeverity string // Enum values for AssociationComplianceSeverity @@ -2258,6 +2277,7 @@ const ( SessionFilterKeyOwner SessionFilterKey = "Owner" SessionFilterKeyStatus SessionFilterKey = "Status" SessionFilterKeySessionId SessionFilterKey = "SessionId" + SessionFilterKeyAccessType SessionFilterKey = "AccessType" ) // Values returns all known values for SessionFilterKey. Note that this can be @@ -2272,6 +2292,7 @@ func (SessionFilterKey) Values() []SessionFilterKey { "Owner", "Status", "SessionId", + "AccessType", } } 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 a72816491..70ac5a890 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 @@ -2697,7 +2697,7 @@ type InstanceInformationStringFilter struct { // The filter key name to describe your managed nodes. // // Valid filter key values: ActivationIds | AgentVersion | AssociationStatus | - // IamRole | InstanceIds | PingStatus | PlatformTypes | ResourceType | SourceIds | + // IamRole | InstanceIds | PingStatus | PlatformType | ResourceType | SourceIds | // SourceTypes | "tag-key" | "tag: {keyname} // // - Valid values for the AssociationStatus filter key: Success | Pending | Failed @@ -5615,6 +5615,12 @@ type ServiceSetting struct { // Information about a Session Manager connection to a managed node. type Session struct { + // Standard access type is the default for Session Manager sessions. JustInTime is + // the access type for [Just-in-time node access]. + // + // [Just-in-time node access]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-just-in-time-node-access.html + AccessType AccessType + // Reserved for future use. Details *string diff --git a/vendor/modules.txt b/vendor/modules.txt index 1ee08bd39..e21bb1476 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.17 ## 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.59.0 +# github.com/aws/aws-sdk-go-v2/service/ssm v1.60.0 ## explicit; go 1.22 github.com/aws/aws-sdk-go-v2/service/ssm github.com/aws/aws-sdk-go-v2/service/ssm/internal/endpoints