You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd
Aaron Klotz 5fb1695bcb util/osdiag, util/osdiag/internal/wsc: add code to probe the Windows Security Center for installed software
The Windows Security Center is a component that manages the registration of
security products on a Windows system. Only products that have obtained a
special cert from Microsoft may register themselves using the WSC API.
Practically speaking, most vendors do in fact sign up for the program as it
enhances their legitimacy.

From our perspective, this is useful because it gives us a high-signal
source of information to query for the security products installed on the
system. I've tied this query into the osdiag package and is run during
bugreports.

It uses COM bindings that were automatically generated by my prototype
metadata processor, however that program still has a few bugs, so I had
to make a few manual tweaks. I dropped those binding into an internal
package because (for the moment, at least) they are effectively
purpose-built for the osdiag use case.

We also update the wingoes dependency to pick up BSTR.

Fixes #10646

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2 years ago
..
addlicense all: update tools that manage copyright headers 3 years ago
cloner cmd/cloner: use maps.Clone and ptr.To 2 years ago
containerboot types/netmap, all: make NetworkMap.SelfNode a tailcfg.NodeView 2 years ago
derper util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 2 years ago
derpprobe prober: migrate to Prometheus metric library 3 years ago
dist cmd/dist,release/dist: expose RPM signing hook (#8789) 2 years ago
get-authkey all: use cmpx.Or where it made sense 3 years ago
gitops-pusher cmd/gitops-pusher: re-use existing types from acl package 2 years ago
hello all: update copyright and license headers 3 years ago
k8s-operator cmd/k8s-operator: fix regression from earlier refactor 2 years ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 3 years ago
mkpkg go.mod: upgrade nfpm to v2 (#8786) 2 years ago
mkversion version/mkversion: open-source version generation logic 3 years ago
nardump all: update copyright and license headers 3 years ago
netlogfmt all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 2 years ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 3 years ago
pgproxy various: add golangci-lint, fix issues (#7905) 3 years ago
printdep cmd/printdep: print correct toolchain URL 3 years ago
proxy-to-grafana tailcfg,all: add and use Node.IsTagged() 3 years ago
sniproxy cmd/sniproxy: add client metrics 2 years ago
speedtest all: update copyright and license headers 3 years ago
ssh-auth-none-demo all: replace deprecated ioutil references 2 years ago
stunc all: update copyright and license headers 3 years ago
sync-containers cmd/sync-containers: update latest and stable tags 3 years ago
tailscale client/web: cache csrf key when running in CGI mode 2 years ago
tailscaled util/osdiag, util/osdiag/internal/wsc: add code to probe the Windows Security Center for installed software 2 years ago
testcontrol all: update copyright and license headers 3 years ago
testwrapper all: import x/exp/maps as xmaps to distinguish from Go 1.21 "maps" 2 years ago
tsconnect types/netmap, all: make NetworkMap.SelfNode a tailcfg.NodeView 2 years ago
tsshd all: update copyright and license headers 3 years ago
viewer types/views,cmd/viewer: add ByteSlice[T] to replace mem.RO 2 years ago