Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agent-manager/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ require (
github.com/pelletier/go-toml/v2 v2.3.1 // indirect
github.com/quic-go/qpack v0.6.0 // indirect
github.com/quic-go/quic-go v0.59.1 // indirect
github.com/threatwinds/go-sdk v1.1.31
github.com/threatwinds/go-sdk v1.1.33
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.3.1 // indirect
golang.org/x/arch v0.27.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions agent-manager/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
github.com/threatwinds/go-sdk v1.1.31 h1:H8QNjm+q2zwvOxp+htM5XX/4QDyiZn4Np62MhhUQu7A=
github.com/threatwinds/go-sdk v1.1.31/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/threatwinds/go-sdk v1.1.33 h1:jpj5fCGd/++e7n4Ip06dpNfoZw4j92HiDtwC4yp3TyE=
github.com/threatwinds/go-sdk v1.1.33/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI=
github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08=
github.com/ugorji/go/codec v1.3.1 h1:waO7eEiFDwidsBN6agj1vJQ4AG7lh2yqXyOXqhgQuyY=
Expand Down
2 changes: 1 addition & 1 deletion agent/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/netsampler/goflow2 v1.3.7
github.com/spf13/cobra v1.10.2
github.com/tehmaze/netflow v0.0.0-20240303214733-8c13bb004068
github.com/threatwinds/go-sdk v1.1.31
github.com/threatwinds/go-sdk v1.1.33
github.com/threatwinds/logger v1.2.3
github.com/utmstack/UTMStack/shared v0.0.0
golang.org/x/sys v0.48.0
Expand Down
4 changes: 2 additions & 2 deletions agent/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
github.com/tehmaze/netflow v0.0.0-20240303214733-8c13bb004068 h1:1B+EAUqxEyPByCfk55tB21DtR7WF7Q2w71g7+uVkvIg=
github.com/tehmaze/netflow v0.0.0-20240303214733-8c13bb004068/go.mod h1:QRP5wJOf7gGMGL2fCAfmh/5CMZQspRxT5DqghaPRrjM=
github.com/threatwinds/go-sdk v1.1.31 h1:H8QNjm+q2zwvOxp+htM5XX/4QDyiZn4Np62MhhUQu7A=
github.com/threatwinds/go-sdk v1.1.31/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/threatwinds/go-sdk v1.1.33 h1:jpj5fCGd/++e7n4Ip06dpNfoZw4j92HiDtwC4yp3TyE=
github.com/threatwinds/go-sdk v1.1.33/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/threatwinds/logger v1.2.3 h1:V2SVAXzbq+/huCvIWOfqzMTH+WBHJxankyBgVG2hy1Y=
github.com/threatwinds/logger v1.2.3/go.mod h1:N+bJKvF4FQNJZLfQpVYWpr6D8iEAFnAQfHYqH5iR1TI=
github.com/tidwall/gjson v1.19.0 h1:xwxm7n691Uf3u5OFjzngavjGTh55KX5q/9w9xHW88JU=
Expand Down
2 changes: 1 addition & 1 deletion as400/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/glebarez/sqlite v1.11.0
github.com/google/uuid v1.6.0
github.com/kardianos/service v1.3.0
github.com/threatwinds/go-sdk v1.1.31
github.com/threatwinds/go-sdk v1.1.33
github.com/threatwinds/logger v1.2.3
google.golang.org/grpc v1.83.2
google.golang.org/protobuf v1.36.12
Expand Down
4 changes: 2 additions & 2 deletions as400/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
github.com/threatwinds/go-sdk v1.1.31 h1:H8QNjm+q2zwvOxp+htM5XX/4QDyiZn4Np62MhhUQu7A=
github.com/threatwinds/go-sdk v1.1.31/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/threatwinds/go-sdk v1.1.33 h1:jpj5fCGd/++e7n4Ip06dpNfoZw4j92HiDtwC4yp3TyE=
github.com/threatwinds/go-sdk v1.1.33/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/threatwinds/logger v1.2.3 h1:V2SVAXzbq+/huCvIWOfqzMTH+WBHJxankyBgVG2hy1Y=
github.com/threatwinds/logger v1.2.3/go.mod h1:N+bJKvF4FQNJZLfQpVYWpr6D8iEAFnAQfHYqH5iR1TI=
github.com/tidwall/gjson v1.19.0 h1:xwxm7n691Uf3u5OFjzngavjGTh55KX5q/9w9xHW88JU=
Expand Down
2 changes: 1 addition & 1 deletion as400/updater/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.25.5

require (
github.com/kardianos/service v1.3.0
github.com/threatwinds/go-sdk v1.1.31
github.com/threatwinds/go-sdk v1.1.33
github.com/threatwinds/logger v1.2.3
gopkg.in/yaml.v3 v3.0.1
)
Expand Down
4 changes: 2 additions & 2 deletions as400/updater/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
github.com/threatwinds/go-sdk v1.1.31 h1:H8QNjm+q2zwvOxp+htM5XX/4QDyiZn4Np62MhhUQu7A=
github.com/threatwinds/go-sdk v1.1.31/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/threatwinds/go-sdk v1.1.33 h1:jpj5fCGd/++e7n4Ip06dpNfoZw4j92HiDtwC4yp3TyE=
github.com/threatwinds/go-sdk v1.1.33/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/threatwinds/logger v1.2.3 h1:V2SVAXzbq+/huCvIWOfqzMTH+WBHJxankyBgVG2hy1Y=
github.com/threatwinds/logger v1.2.3/go.mod h1:N+bJKvF4FQNJZLfQpVYWpr6D8iEAFnAQfHYqH5iR1TI=
github.com/tidwall/gjson v1.19.0 h1:xwxm7n691Uf3u5OFjzngavjGTh55KX5q/9w9xHW88JU=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,56 @@ public Map<String, Object> getLatestDocument(List<FilterType> filters, String in
}
}

/**
* Returns, in a single request, the echo count and latest echo document for each of the
* given parent ids. A parent with no children is simply absent from the returned map.
* Each entry is a Map with keys: hasChildren (boolean), echoes (long), last_echo (Map, only when >0).
*/
public Map<String, Map<String, Object>> getEchoesByParentIds(List<String> parentIds, String indexPattern) {
final String ctx = CLASSNAME + ".getEchoesByParentIds";
try {
Map<String, Map<String, Object>> out = new HashMap<>();
if (CollectionUtils.isEmpty(parentIds)) return out;

SearchRequest request = new SearchRequest.Builder()
.index(indexPattern)
.query(q -> q.terms(t -> t
.field("parentId")
.terms(tf -> tf.value(parentIds.stream().map(FieldValue::of).collect(Collectors.toList())))))
.size(0)
.aggregations("by_parent", agg -> agg
.terms(t -> t.field("parentId").size(parentIds.size()))
.aggregations("latest", th -> th.topHits(t -> t
.size(1)
.sort(s -> s.field(f -> f.field("@timestamp").order(SortOrder.Desc))))))
.build();

SearchResponse<Map> response = search(request, Map.class);
var aggs = response.aggregations();
if (aggs == null || !aggs.containsKey("by_parent")) return out;
var byParent = aggs.get("by_parent").sterms();
if (byParent == null) return out;

for (var bucket : byParent.buckets().array()) {
Map<String, Object> entry = new HashMap<>();
entry.put("hasChildren", bucket.docCount() > 0);
entry.put("echoes", bucket.docCount());
var latestAgg = bucket.aggregations().get("latest");
if (latestAgg != null) {
var topHits = latestAgg.topHits();
if (topHits != null && !topHits.hits().hits().isEmpty()) {
var src = topHits.hits().hits().get(0).source();
if (src != null) entry.put("last_echo", src.to(Map.class));
}
}
out.put(bucket.key(), entry);
}
return out;
} catch (Exception e) {
throw new RuntimeException(ctx + ": " + e.getMessage(), e);
}
}


public <T> SearchResponse<T> search(SearchRequest request, Class<T> type) {
final String ctx = CLASSNAME + ".search";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,20 @@ public ResponseEntity<List<Map>> search(@RequestBody(required = false) List<Filt
.toList();

if (includeChildren) {
List<String> parentIds = results.stream()
.map(d -> d.get("id"))
.filter(Objects::nonNull)
.map(Object::toString)
.distinct()
.collect(Collectors.toList());
Map<String, Map<String, Object>> echoes = elasticsearchService.getEchoesByParentIds(parentIds, indexPattern);
results.forEach(d -> {
Object id = d.get("id");
if (id != null) {
List<FilterType> echoFilter = List.of(new FilterType("parentId", OperatorType.IS, id.toString()));
long countEchoes = elasticsearchService.count(echoFilter, indexPattern);
d.put("hasChildren", countEchoes > 0);
d.put("echoes", countEchoes);
if (countEchoes > 0) {
d.put("last_echo", elasticsearchService.getLatestDocument(echoFilter, indexPattern));
}
Map<String, Object> echo = echoes.getOrDefault(id.toString(), Map.of());
d.put("hasChildren", echo.getOrDefault("hasChildren", false));
d.put("echoes", echo.getOrDefault("echoes", 0L));
if (echo.containsKey("last_echo")) d.put("last_echo", echo.get("last_echo"));
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {ResizeEvent} from 'angular-resizable-element';
import {NgxSpinnerService} from 'ngx-spinner';
import {LocalStorageService} from 'ngx-webstorage';
import {Observable, Subject, throwError, timer, Subscription} from 'rxjs';
import {concatMap, filter, retryWhen, takeUntil, tap, finalize} from 'rxjs/operators';
import {concatMap, filter, retryWhen, takeUntil, tap, finalize,take,debounceTime} from 'rxjs/operators';
import {UtmToastService} from '../../../shared/alert/utm-toast.service';
import {
ElasticFilterDefaultTime
Expand Down Expand Up @@ -353,34 +353,30 @@ export class AlertViewComponent implements OnInit, OnDestroy {
}

getAlert(calledFrom?: string, filtersParam?: ElasticFilterType[]) {
if(this.lastTimeout!=-1){
clearTimeout(this.lastTimeout)

if(this.lastRequest){
this.lastRequest.unsubscribe()
this.lastRequest=null
}
}
this.lastTimeout= setTimeout(()=>{

this.lastRequest=this.elasticDataService.search(this.page, this.itemsPerPage,
MAX_SEARCH_RESULTS, this.dataNature,
sanitizeFilters(this.filters), this.sortBy, true)
.pipe(finalize(()=>this.lastRequest=null))
sanitizeFilters(!!filtersParam? filtersParam : this.filters), this.sortBy, true)
.pipe(debounceTime(300),take(1),finalize(()=>{
this.loading = false;
this.flushPendingFilters();
this.lastRequest=null
this.refreshingAlert = false;
}))
.subscribe(
(res: HttpResponse<any>) => {
this.totalItems = Number(res.headers.get('X-Total-Count'));
this.alerts = res.body;
this.loading = false;
this.refreshingAlert = false;
this.flushPendingFilters();
},
(res: HttpResponse<any>) => {
(_res: HttpResponse<any>) => {
this.utmToastService.showError('Error', 'An error occurred while listing the alerts. Please try again later.');
this.loading = false;
this.refreshingAlert = false;
this.flushPendingFilters();
}
);
},100)
}

private flushPendingFilters() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/alerts/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/utmstack/UTMStack/plugins/alerts
go 1.25.5

require (
github.com/threatwinds/go-sdk v1.1.31
github.com/threatwinds/go-sdk v1.1.33
github.com/tidwall/gjson v1.19.0
google.golang.org/protobuf v1.36.12
)
Expand Down
4 changes: 2 additions & 2 deletions plugins/alerts/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
github.com/threatwinds/go-sdk v1.1.31 h1:H8QNjm+q2zwvOxp+htM5XX/4QDyiZn4Np62MhhUQu7A=
github.com/threatwinds/go-sdk v1.1.31/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/threatwinds/go-sdk v1.1.33 h1:jpj5fCGd/++e7n4Ip06dpNfoZw4j92HiDtwC4yp3TyE=
github.com/threatwinds/go-sdk v1.1.33/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/tidwall/gjson v1.19.0 h1:xwxm7n691Uf3u5OFjzngavjGTh55KX5q/9w9xHW88JU=
github.com/tidwall/gjson v1.19.0/go.mod h1:V37/opeE/JbLUOfH0QTXiNez2l0RUjYUhpT4szFQAfc=
github.com/tidwall/match v1.2.0 h1:0pt8FlkOwjN2fPt4bIl4BoNxb98gGHN2ObFEDkrfZnM=
Expand Down
2 changes: 1 addition & 1 deletion plugins/aws/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/aws/aws-sdk-go-v2/config v1.33.5
github.com/aws/aws-sdk-go-v2/credentials v1.20.5
github.com/google/uuid v1.6.0
github.com/threatwinds/go-sdk v1.1.31
github.com/threatwinds/go-sdk v1.1.33
)

require (
Expand Down
4 changes: 2 additions & 2 deletions plugins/aws/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
github.com/threatwinds/go-sdk v1.1.31 h1:H8QNjm+q2zwvOxp+htM5XX/4QDyiZn4Np62MhhUQu7A=
github.com/threatwinds/go-sdk v1.1.31/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/threatwinds/go-sdk v1.1.33 h1:jpj5fCGd/++e7n4Ip06dpNfoZw4j92HiDtwC4yp3TyE=
github.com/threatwinds/go-sdk v1.1.33/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/tidwall/gjson v1.19.0 h1:xwxm7n691Uf3u5OFjzngavjGTh55KX5q/9w9xHW88JU=
github.com/tidwall/gjson v1.19.0/go.mod h1:V37/opeE/JbLUOfH0QTXiNez2l0RUjYUhpT4szFQAfc=
github.com/tidwall/match v1.2.0 h1:0pt8FlkOwjN2fPt4bIl4BoNxb98gGHN2ObFEDkrfZnM=
Expand Down
2 changes: 1 addition & 1 deletion plugins/azure/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/Azure/azure-sdk-for-go/sdk/messaging/azeventhubs/v2 v2.0.2
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.8.1
github.com/google/uuid v1.6.0
github.com/threatwinds/go-sdk v1.1.31
github.com/threatwinds/go-sdk v1.1.33
google.golang.org/grpc v1.83.2
google.golang.org/protobuf v1.36.12
)
Expand Down
4 changes: 2 additions & 2 deletions plugins/azure/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE=
github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg=
github.com/threatwinds/go-sdk v1.1.31 h1:H8QNjm+q2zwvOxp+htM5XX/4QDyiZn4Np62MhhUQu7A=
github.com/threatwinds/go-sdk v1.1.31/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/threatwinds/go-sdk v1.1.33 h1:jpj5fCGd/++e7n4Ip06dpNfoZw4j92HiDtwC4yp3TyE=
github.com/threatwinds/go-sdk v1.1.33/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/tidwall/gjson v1.19.0 h1:xwxm7n691Uf3u5OFjzngavjGTh55KX5q/9w9xHW88JU=
github.com/tidwall/gjson v1.19.0/go.mod h1:V37/opeE/JbLUOfH0QTXiNez2l0RUjYUhpT4szFQAfc=
github.com/tidwall/match v1.2.0 h1:0pt8FlkOwjN2fPt4bIl4BoNxb98gGHN2ObFEDkrfZnM=
Expand Down
2 changes: 1 addition & 1 deletion plugins/bitdefender/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.25.5
require (
github.com/google/uuid v1.6.0
github.com/gorilla/mux v1.8.1
github.com/threatwinds/go-sdk v1.1.31
github.com/threatwinds/go-sdk v1.1.33
google.golang.org/grpc v1.83.2
google.golang.org/protobuf v1.36.12
)
Expand Down
4 changes: 2 additions & 2 deletions plugins/bitdefender/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
github.com/threatwinds/go-sdk v1.1.31 h1:H8QNjm+q2zwvOxp+htM5XX/4QDyiZn4Np62MhhUQu7A=
github.com/threatwinds/go-sdk v1.1.31/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/threatwinds/go-sdk v1.1.33 h1:jpj5fCGd/++e7n4Ip06dpNfoZw4j92HiDtwC4yp3TyE=
github.com/threatwinds/go-sdk v1.1.33/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/tidwall/gjson v1.19.0 h1:xwxm7n691Uf3u5OFjzngavjGTh55KX5q/9w9xHW88JU=
github.com/tidwall/gjson v1.19.0/go.mod h1:V37/opeE/JbLUOfH0QTXiNez2l0RUjYUhpT4szFQAfc=
github.com/tidwall/match v1.2.0 h1:0pt8FlkOwjN2fPt4bIl4BoNxb98gGHN2ObFEDkrfZnM=
Expand Down
2 changes: 1 addition & 1 deletion plugins/config/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.25.5

require (
github.com/lib/pq v1.12.3
github.com/threatwinds/go-sdk v1.1.31
github.com/threatwinds/go-sdk v1.1.33
google.golang.org/protobuf v1.36.12
gopkg.in/yaml.v3 v3.0.1
sigs.k8s.io/yaml v1.6.0
Expand Down
4 changes: 2 additions & 2 deletions plugins/config/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
github.com/threatwinds/go-sdk v1.1.31 h1:H8QNjm+q2zwvOxp+htM5XX/4QDyiZn4Np62MhhUQu7A=
github.com/threatwinds/go-sdk v1.1.31/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/threatwinds/go-sdk v1.1.33 h1:jpj5fCGd/++e7n4Ip06dpNfoZw4j92HiDtwC4yp3TyE=
github.com/threatwinds/go-sdk v1.1.33/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/tidwall/gjson v1.19.0 h1:xwxm7n691Uf3u5OFjzngavjGTh55KX5q/9w9xHW88JU=
github.com/tidwall/gjson v1.19.0/go.mod h1:V37/opeE/JbLUOfH0QTXiNez2l0RUjYUhpT4szFQAfc=
github.com/tidwall/match v1.2.0 h1:0pt8FlkOwjN2fPt4bIl4BoNxb98gGHN2ObFEDkrfZnM=
Expand Down
2 changes: 1 addition & 1 deletion plugins/crowdstrike/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.25.5
require (
github.com/crowdstrike/gofalcon v0.22.0
github.com/google/uuid v1.6.0
github.com/threatwinds/go-sdk v1.1.31
github.com/threatwinds/go-sdk v1.1.33
google.golang.org/grpc v1.83.2
google.golang.org/protobuf v1.36.12
)
Expand Down
4 changes: 2 additions & 2 deletions plugins/crowdstrike/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
github.com/threatwinds/go-sdk v1.1.31 h1:H8QNjm+q2zwvOxp+htM5XX/4QDyiZn4Np62MhhUQu7A=
github.com/threatwinds/go-sdk v1.1.31/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/threatwinds/go-sdk v1.1.33 h1:jpj5fCGd/++e7n4Ip06dpNfoZw4j92HiDtwC4yp3TyE=
github.com/threatwinds/go-sdk v1.1.33/go.mod h1:aN6Oe3zJop9ngS83oZcKFXDLKWzrny2XhkYm7uoyDbQ=
github.com/tidwall/gjson v1.19.0 h1:xwxm7n691Uf3u5OFjzngavjGTh55KX5q/9w9xHW88JU=
github.com/tidwall/gjson v1.19.0/go.mod h1:V37/opeE/JbLUOfH0QTXiNez2l0RUjYUhpT4szFQAfc=
github.com/tidwall/match v1.2.0 h1:0pt8FlkOwjN2fPt4bIl4BoNxb98gGHN2ObFEDkrfZnM=
Expand Down
2 changes: 1 addition & 1 deletion plugins/events/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/utmstack/UTMStack/plugins/events
go 1.25.5

require (
github.com/threatwinds/go-sdk v1.1.31
github.com/threatwinds/go-sdk v1.1.33
github.com/tidwall/gjson v1.19.0
)

Expand Down
Loading
Loading