Create Anti Malware Configuration using the API

95 views Asked by At

Using the API I was able to create an Anti Malware Configuration using Postman. (https://cloudone.trendmicro.com/docs/workload-security/api-reference/#operation/createAntiMalware)

But I still can't figure out why, even if I put some parameters such as ID of existing directory/file/process exclusion into the query, it doesn't apply to it.

I've also tried to modify exclusions on one of them once it is created but it still doesn't work.

Here is what I've done :

  1. Take an ID of a valid exclusion (directory exclusion here)
  2. Send the query with the right ID
  3. Get the response from Postman
  4. Verify in the Manager
1

There are 1 answers

0
ajaxbits On BEST ANSWER

so it looks like your syntax is off. Changing excludedDirectoryListId to excludedDirectoryListID fixed the problem when I reproduced your bug.

When I create queries, I like to copy directly from the docs page using the "copy" button on the top right of the payload, just to make sure that I don't have any small syntax errors.