Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def build_assets(assets):
agent_labels = agent_info.get('labels', [])
for label in agent_labels:
custom_attributes['agent.labels.' + str(agent_labels.index(label))] = label
labels = asset.get('lables', [])
labels = asset.get('labels', [])
for label in labels:
for k, v in label.items():
custom_attributes['labels.' + str(labels.index(label)) + '.' + k ] = v
Expand Down
10 changes: 9 additions & 1 deletion akamai-guardicore-centra/custom-integration-centra-v4-api.star
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ def build_assets(assets, token):
label_mapping[k] = v
name = label_mapping.get(guid, '')
label_names.append(name)

tags = []
for label in label_names:
split_tag = label.split(':')
reformat = split_tag[0].strip() + '=' + split_tag[1].strip()
tag_string = tag_string + ' ' + reformat
tags.append(tag_string)


custom_attributes = {
Expand Down Expand Up @@ -113,7 +120,8 @@ def build_assets(assets, token):
os=os,
first_seen_ts=first_seen,
networkInterfaces=interfaces,
customAttributes=custom_attributes
customAttributes=custom_attributes,
tags=tags
)
)
return assets_import
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"lastUpdated": "2025-12-15T22:06:49.938502Z",
"lastUpdated": "2026-01-15T14:39:53.188734Z",
"totalIntegrations": 30,
"integrationDetails": [
{
Expand Down