feat(globals): Add RDP target prefix

This commit is contained in:
Andrew Gaffney authored and irenarindos committed 2025-09-02 15:13:07 -04:00
1 parent 407a0adf4a
commit ef2ee9f9ff
1 file changed
+6
+6
View File
@@ -114,6 +114,8 @@ const (
TcpTargetPrefix = "ttcp"
// SshTargetPrefix is the prefix for TCP targets
SshTargetPrefix = "tssh"
// RdpTargetPrefix is the prefix for RDP targets
RdpTargetPrefix = "trdp"
// WorkerPrefix is the prefix for workers
WorkerPrefix = "w"
@@ -315,6 +317,10 @@ var prefixToResourceType = map[string]ResourceInfo{
Type: resource.Target,
Subtype: UnknownSubtype,
},
RdpTargetPrefix: {
Type: resource.Target,
Subtype: UnknownSubtype,
},
WorkerPrefix: {
Type: resource.Worker,