Skip to content
Open
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
64 changes: 63 additions & 1 deletion phutils.json
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,68 @@
],
"versions": "EQ(*)"
},
{
"action": "defang url",
"description": "Returns defanged URLs",
"type": "generic",
"identifier": "defang_url",
"read_only": true,
"parameters": {
"url": {
"description": "url to defang",
"data_type": "string",
"contains": [
"url"
],
"required": true,
"primary": true
}
},
"render": {
"type": "table",
"width": 2,
"height": 5,
"title": "Search Results"
},
"output": [
{
"data_path": "action_result.status",
"data_type": "string",
"column_name": "Status"
},
{
"data_path": "action_result.parameter.url",
"data_type": "string",
"contains": [
"url"
],
"column_order": 0,
"column_name": "Fanged URL"
},
{
"data_path": "action_result.data.*.defanged_url",
"data_type": "string",
"contains": [
"url"
],
"column_order": 1,
"column_name": "Defanged URL"
},
{
"data_path": "action_result.summary.defanged_url",
"data_type": "string",
"contains": [
"url"
]
},
{
"data_path": "action_result.message",
"data_type": "string",
"column_name": "Message"
}
],
"versions": "EQ(*)"
},
{
"action": "format string",
"description": "Formats input data",
Expand Down Expand Up @@ -1449,4 +1511,4 @@
"versions": "EQ(*)"
}
]
}
}