[
https://issues.apache.org/jira/browse/JAMES-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoine Duprat closed JAMES-2536.
---------------------------------
> Fetch a DLP configuration item by sender domain and rule id
> -----------------------------------------------------------
>
> Key: JAMES-2536
> URL: https://issues.apache.org/jira/browse/JAMES-2536
> Project: James Server
> Issue Type: Improvement
> Components: webadmin
> Reporter: Gautier DI FOLCO
> Priority: Trivial
> Fix For: 3.2.0
>
>
> Retrieve a DLP configuration rule for corresponding *senderDomain* and a
> *ruleId*
> {code:java}
> curl -XGET http://ip:port/dlp/rules/senderDomain/rules/ruleId{code}
> Response codes:
> - 200: A dlp configuration item is returned
> - 404: The domain and/or the rule does not exist.
> This is an example of returned body.
> {code:java}
> {
> "id": "1",
> "expression": "james.org",
> "explanation": "Find senders or recipients containing james[any char]org",
> "targetsSender": true,
> "targetsRecipients": true,
> "targetsContent": false
> }{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]