public class AccessControl
extends java.lang.Object
Constructor and Description |
---|
AccessControl(ClientApi api) |
Modifier and Type | Method and Description |
---|---|
ApiResponse |
getScanProgress(java.lang.String contextid)
Gets the Access Control scan progress (percentage integer) for the given context ID.
|
ApiResponse |
getScanStatus(java.lang.String contextid)
Gets the Access Control scan status (description string) for the given context ID.
|
ApiResponse |
scan(java.lang.String contextid,
java.lang.String userid,
java.lang.String scanasunauthuser,
java.lang.String raisealert,
java.lang.String alertrisklevel)
Starts an Access Control scan with the given context ID and user ID.
|
ApiResponse |
writeHTMLreport(java.lang.String contextid,
java.lang.String filename)
Generates an Access Control report for the given context ID and saves it based on the
provided filename (path).
|
public AccessControl(ClientApi api)
public ApiResponse getScanProgress(java.lang.String contextid) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse getScanStatus(java.lang.String contextid) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse scan(java.lang.String contextid, java.lang.String userid, java.lang.String scanasunauthuser, java.lang.String raisealert, java.lang.String alertrisklevel) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse writeHTMLreport(java.lang.String contextid, java.lang.String filename) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException