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