Skip to content

Commit

Permalink
build(deps): bump github.com/open-amt-cloud-toolkit/go-wsman-messages…
Browse files Browse the repository at this point in the history
…/v2 from 2.2.0 to 2.2.1 (#47)

* build(deps): bump github.com/open-amt-cloud-toolkit/go-wsman-messages/v2

Bumps [github.com/open-amt-cloud-toolkit/go-wsman-messages/v2](https://github.com/open-amt-cloud-toolkit/go-wsman-messages) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/open-amt-cloud-toolkit/go-wsman-messages/releases)
- [Changelog](https://github.com/open-amt-cloud-toolkit/go-wsman-messages/blob/main/.releaserc.json)
- [Commits](open-amt-cloud-toolkit/go-wsman-messages@v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: github.com/open-amt-cloud-toolkit/go-wsman-messages/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* build(deps): fix breaking changes

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Craig Spencer <[email protected]>
  • Loading branch information
dependabot[bot] and Craig-Spencer-12 authored Mar 28, 2024
1 parent 666145e commit 118f282
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.20

require (
github.com/jritsema/gotoolbox v0.8.0
github.com/open-amt-cloud-toolkit/go-wsman-messages/v2 v2.2.0
github.com/open-amt-cloud-toolkit/go-wsman-messages/v2 v2.2.1
go.etcd.io/bbolt v1.3.9
golang.org/x/text v0.14.0
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfn
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/open-amt-cloud-toolkit/go-wsman-messages/v2 v2.2.0 h1:FzWtbRUubVAqTvwZOxO8SizsMDLFDlT41Dnt4KZrIP0=
github.com/open-amt-cloud-toolkit/go-wsman-messages/v2 v2.2.0/go.mod h1:7aSDcTtCGiyD2pjqguDCjqFvI/Lp603FvzypHOen3zk=
github.com/open-amt-cloud-toolkit/go-wsman-messages/v2 v2.2.1 h1:c9v+RydwQkjGoZiFeD8NwTQW5O97EYG3fMxZPDyIeK4=
github.com/open-amt-cloud-toolkit/go-wsman-messages/v2 v2.2.1/go.mod h1:7aSDcTtCGiyD2pjqguDCjqFvI/Lp603FvzypHOen3zk=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
Expand Down
6 changes: 3 additions & 3 deletions internal/features/explorer/explorer.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func GetSupportedWsmanClasses(className string) []Class {
var ClassList = []Class{
{Name: alarmclock.AMT_AlarmClockService, MethodList: []Method{{Name: "Get"}, {Name: "Enumerate"}, {Name: "Pull"}, {Name: "AddAlarm"}}},
{Name: auditlog.AMT_AuditLog, MethodList: []Method{{Name: "Get"}, {Name: "Enumerate"}, {Name: "Pull"}, {Name: "ReadRecords"}}},
{Name: authorization.AMT_AuthorizationService, MethodList: []Method{{Name: "Get"}, {Name: "Enumerate"}, {Name: "Pull"}, {Name: "EnumerateUserAclEntries"}, {Name: "GetAclEnabledState"}, {Name: "GetAdminAclEntry"}, {Name: "GetAdminAclEntryStatus"}, {Name: "GetAdminNetAclEntryStatus"}, {Name: "GetUserAclEntryEx"}, {Name: "RemoveUserAclEntry"}, {Name: "SetAclEnabledState"}, {Name: "SetAdminACLEntryEx"}}},
{Name: authorization.AMT_AuthorizationService, MethodList: []Method{{Name: "Get"}, {Name: "Enumerate"}, {Name: "Pull"}, {Name: "EnumerateUserAclEntries"}, {Name: "GetAclEnabledState"}, {Name: "GetAdminAclEntry"}, {Name: "GetAdminAclEntryStatus"}, {Name: "GetAdminNetAclEntryStatus"}, {Name: "GetUserAclEntryEx"}, {Name: "RemoveUserAclEntry"}, {Name: "SetAclEnabledState"}, {Name: "SetAdminAclEntryEx"}}},
{Name: amtboot.AMT_BootCapabilities, MethodList: []Method{{Name: "Get"}, {Name: "Enumerate"}, {Name: "Pull"}}},
{Name: amtboot.AMT_BootSettingData, MethodList: []Method{{Name: "Get"}, {Name: "Enumerate"}, {Name: "Pull"}, {Name: "Put"}}},
{Name: environmentdetection.AMT_EnvironmentDetectionSettingData, MethodList: []Method{{Name: "Get"}, {Name: "Enumerate"}, {Name: "Pull"}, {Name: "Put"}}},
Expand Down Expand Up @@ -279,9 +279,9 @@ func Init(wsman wsman.Messages) {
return *response.Message, err
},
}
Lookup[authorization.AMT_AuthorizationService]["SetAdminACLEntryEx"] = Method{
Lookup[authorization.AMT_AuthorizationService]["SetAdminAclEntryEx"] = Method{
Execute: func(value string) (client.Message, error) {
response, err := wsman.AMT.AuthorizationService.SetAdminACLEntryEx("admin", "P@ssw0rd")
response, err := wsman.AMT.AuthorizationService.SetAdminAclEntryEx("admin", "P@ssw0rd")
return *response.Message, err
},
}
Expand Down

0 comments on commit 118f282

Please sign in to comment.