Questions tagged [deepsecurity]

Trend Micro Deep Security is a tool that improves visibility and simplifies security management across physical, virtual, and cloud environments.

68 questions
3
votes
1 answer

"[ERROR] OSError: [Errno 38] Function not implemented" - Accessing trend deepsecurity.ComputersApi via Lambda

I have written a python script that successfully queries the trend deepsecurity api calls when ran locally on my machine. I've been tasked with running the script in an aws lambda so that it is automated and can be scheduled. The script is following…
3
votes
1 answer

DSaaS Python Script to Search for Global Rule by HASH

Would like to use Python to search the DSaaS global rules to see if a certain HASH/SHA256 is in the global rule set. Code below. How do I get the SHA256 value (hash256) in the search_filter object? hash256 = str(input("Pleas enter the hash that…
tboyers
  • 65
  • 2
3
votes
1 answer

DSaaS Adding Global Rule with Python

Trying to use the automation API example to add a global rule to DSaaS. I have no idea how to populate the hash,description pairs in the globalrules = deepsecurity.ApplicationControlGlobalRules(). Tried using JSON but don't know how to do…
tboyers
  • 65
  • 2
2
votes
0 answers

TrendMicro Deep Security 11 - retrieving computers in "protected" state in terms of antimalware

Does anyone know if total number of anti-malware protected computers can be retrieved by API or any other way "by script". In DSM there's widget "anti-malware protection status" and we have "anti-malware report" in scheduled task which both return…
zamach
  • 21
  • 1
2
votes
1 answer

API: get all IPS_Rules

I have a problem with a REST API script which was working for 3 months and now the script aborts with an error. On the line "ips_rules = api_ipsrule.list_intrusion_prevention_rules(api_version).intrusion_prevention_rules" the script aborts with the…
svenroth
  • 23
  • 3
2
votes
1 answer

Trend Micro Programmatically Scan File

I need to run a virus scan on files uploaded to a server before storing that file. Does Trend Micro provide a means to programmatically scan a file for virus in real time? ClamAV provides a way for you to stream a file into it and it would scan that…
pauljen
  • 59
  • 9
2
votes
1 answer

Search field lastIPUsed not searchable

I'm trying to search computers using the IP as search criteria but the console responds as not searchable field: Exception: (400) …
Victor Ide
  • 41
  • 6
1
vote
0 answers

Active Directory Synchronize automation Deep security

We are currently installing deep security using ansible on our computers. To automate everything without any human interaction, some parts of the configuration are made by SQL injection, even if it's not recommended by Trend Micro (have to deal with…
Renzukoken
  • 11
  • 1
1
vote
0 answers

Retrieve Alerts using the legacy REST API

Using the legacy REST API I was able to retrieve alerts following the documentation using Postman. (https://automation.deepsecurity.trendmicro.com/legacy-rest/20_0/index.html?env=onprem#list_alert_types) But since 1 week I can't retrieve those…
Vince
  • 13
  • 2
1
vote
0 answers

ModuleNotFoundError: No module named 'deepsecurity'

I am trying to use the sample Python code for a get request on the API to list all policies in the Deep Security Manager. I have replaced the sample code with my host and API key relative to our environment. Upon running the code I immediately…
1
vote
1 answer

CLI start a scan on a specific file

Is it possible to cli, API or somehow start a scan on a specific file? I have a customer who wants to use this in Veeam v10 Secure Restore (https://helpcenter.veeam.com/docs/backup/vsphere/av_scan_xml.html?ver=100)
Willem
  • 11
  • 1
1
vote
1 answer

I need some guidance on an API call that is not returning the expected response

I need some guidance on an API call that is not returning the expected response. When we call the CreateTenant API, the request creates both a tenant and an admin. We plan to remove the admin using the DeleteAdministrator API call. However, the…
Olu
  • 11
  • 1
1
vote
1 answer

Unable to connect to SMTP server - When creating a tenant

When creating a tenant against a system running Deep Security/11.3.184 I'm receiving the following response: { "message":"Unable to connect to SMTP server. Please verify the SMTP configuration in System Settings." } The API resource I'm calling…
John McDonnell
  • 753
  • 1
  • 8
  • 24
1
vote
1 answer

policy (aka profile) assignment and activation for vms protected by appliance

In the Trend Micro Deep Security SOAP API (DSSOAP.ManagerService) are the following methods okay to use for appliance-based protection? securityProfileAssignToHost() hostAgentActivate() Or only for agent-based protection? If only for agent-based,…
noam
  • 1,914
  • 2
  • 20
  • 26
1
vote
1 answer

Request only the number of computers in DS SDK

Deepsecurity api takes a long time to parse all pcs, so i need need to parse only the quantity of computers via SDK to make a time estimate, and a progress bar for the user. is this possible? i didn't find any methods in the docs for this. Thanks.
Ollegn
  • 2,294
  • 2
  • 16
  • 22
1
2 3 4 5