Lists all administrator roles.
AdministratorRolesApi.listAdministratorRoles([param1, param2, ...])
AdministratorRolesApi.list_administrator_roles([param1, param2, ...])
AdministratorRolesApi.listAdministratorRoles([param1, param2, ...])
successful operation
Not authorized to view administrator roles.
import com.trendmicro.deepsecurity.ApiClient; import com.trendmicro.deepsecurity.Configuration; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.ApiException; import com.trendmicro.deepsecurity.api.AdministratorRolesApi; import com.trendmicro.deepsecurity.model.AdministratorRoles; public class ListAdministratorRolesExample { public static void main(String[] args) { // Setup ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("YOUR HOST"); // Authentication ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication"); DefaultAuthentication.setApiKey("YOUR API KEY"); try { defaultClient.trustAllCertificates(false); } catch (Exception e) { System.err.println("An exception occurred when calling ApiClient.trustAllCertificates"); e.printStackTrace(); } // Initialization // Set Any Required Values AdministratorRolesApi instance = new AdministratorRolesApi(); String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours AdministratorRoles result = instance.listAdministratorRoles(apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling AdministratorRolesApi.listAdministratorRoles"); e.printStackTrace(); } } }
{- "roles": [
- {
- "name": "string",
- "description": "string",
- "urn": "string",
- "immutable": true,
- "canOnlyManipulateUsersWithEqualOrLesserRights": true,
- "allComputers": true,
- "allPolicies": true,
- "allowUserInterface": true,
- "allowWebService": true,
- "rights": {
- "platformRights": {
- "administratorRights": {
- "canCreateNewAdministrators": true,
- "canDeleteAdministrators": true,
- "canEditAdministratorProperties": true,
- "canViewAdministrators": true
}, - "administratorRoleRights": {
- "canCreateNewAdministratorRoles": true,
- "canDeleteAdministratorRoles": true,
- "canEditAdministratorRoleProperties": true,
- "canViewAdministratorRoles": true
}, - "alertConfigurationRights": {
- "canEditAlertConfigurations": true
}, - "alertRights": {
- "canDismissGlobalAlerts": true
}, - "certificateRights": {
- "canCreateNewCertificates": true,
- "canDeleteCertificates": true
}, - "computerRights": {
- "canAddAndRemoveComputerGroups": true,
- "canCreateNewComputers": true,
- "canDeleteComputers": true,
- "canDismissAlerts": true,
- "canEditComputerProperties": true,
- "canImportComputers": true,
- "canManageCloudAccounts": true,
- "canManageDirectories": true,
- "canManageVCenters": true,
- "canTagComputers": true,
- "canViewNotRelatedToComputers": true,
- "canViewOtherComputers": true
}, - "contactRights": {
- "canCreateNewContacts": true,
- "canDeleteContacts": true,
- "canEditContactProperties": true,
- "canViewContacts": true
}, - "diagnosticRights": {
- "canCreateDiagnosticPackages": true
}, - "assetValueRights": {
- "canCreateNewAssetValues": true,
- "canDeleteAssetValues": true,
- "canEditAssetValueProperties": true
}, - "licenseRights": {
- "canChangeLicense": true,
- "canViewLicense": true
}, - "multiTenantRights": {
- "canCreateTenants": true,
- "canDeleteTenants": true,
- "canEditTenantGeneralProperties": true,
- "canEditTenantModules": true,
- "canEditTenantAccountDetails": true,
- "canEditTenantFeatures": true,
- "canEditTenantSettings": true,
- "canCreateAndEditTenantDatabaseServers": true,
- "canDeleteTenantDatabaseServers": true,
- "canManageTenantAPIKeys": true,
- "canSignInAsTenant": true,
- "canViewTenants": true
}, - "policyRights": {
- "canCreateNewPolicies": true,
- "canDeletePolicies": true,
- "canEditPolicyProperties": true,
- "canImportPolicies": true,
- "canViewOtherPolicies": true
}, - "portListRights": {
- "canCreateNewPortLists": true,
- "canDeletePortLists": true,
- "canEditPortListProperties": true
}, - "proxyRights": {
- "canCreateNewProxies": true,
- "canDeleteProxies": true,
- "canEditProxyProperties": true
}, - "relayGroupRights": {
- "canCreateNewRelayGroups": true,
- "canDeleteRelayGroups": true,
- "canEditRelayGroupProperties": true
}, - "scanCacheRights": {
- "canManageScanCache": true
}, - "scheduledTaskRights": {
- "canCreateNewScheduledTasks": true,
- "canDeleteScheduledTasks": true,
- "canEditScheduledTaskProperties": true,
- "canExecuteScheduledTasks": true,
- "canViewScheduledTasks": true
}, - "scheduleRights": {
- "canCreateNewSchedules": true,
- "canDeleteSchedules": true,
- "canEditScheduleProperties": true
}, - "settingRights": {
- "canEditSettings": true,
- "canViewSettings": true
}, - "syslogConfigurationRights": {
- "canCreateNewSyslogConfigurations": true,
- "canDeleteSyslogConfigurations": true,
- "canEditSyslogConfigurationProperties": true
}, - "systemInformationRights": {
- "canManageExtensions": true,
- "canManageNodes": true,
- "canViewSystemInformation": true
}, - "taggingRights": {
- "canDeleteAutoTagRules": true,
- "canUpdateAutoTagRules": true,
- "canRunAutoTagRules": true,
- "canDeleteTags": true,
- "canTag": true
}, - "updateRights": {
- "canImportSoftware": true,
- "canDeleteSoftware": true,
- "canEditSoftwareProperties": true,
- "canImportRuleUpdates": true,
- "canDeleteRuleUpdates": true,
- "canViewRuleUpdates": true
}, - "apikeyRights": {
- "canCreateNewApiKeys": true,
- "canDeleteApiKeys": true,
- "canEditApiKeyProperties": true,
- "canViewApiKeys": true
}, - "iplistRights": {
- "canCreateNewIPLists": true,
- "canDeleteIPLists": true,
- "canEditIPListProperties": true
}, - "samlidentityProviderRights": {
- "canCreateNewSAMLIdentityProviders": true,
- "canDeleteSAMLIdentityProviders": true,
- "canEditSAMLIdentityProviders": true,
- "canViewSAMLIdentityProviders": true
}
}, - "antiMalwareRights": {
- "antiMalwareConfigurationRights": {
- "canCreateNewAntiMalwareConfigurations": true,
- "canDeleteAntiMalwareConfigurations": true,
- "canEditAntiMalwareConfigurations": true
}, - "directoryListRights": {
- "canCreateNewDirectoryLists": true,
- "canDeleteDirectoryLists": true,
- "canEditDirectoryListProperties": true
}, - "fileListRights": {
- "canCreateNewFileLists": true,
- "canDeleteFileLists": true,
- "canEditFileListProperties": true
}, - "fileExtensionListRights": {
- "canCreateNewFileExtensionLists": true,
- "canDeleteFileExtensionLists": true,
- "canEditFileExtensionListProperties": true
}, - "identifiedFileRights": {
- "canDeleteIdentifiedFiles": true,
- "canDownloadIdentifiedFiles": true,
- "canRestoreIdentifiedFiles": true,
- "canSubmitIdentifiedFiles": true
}
}, - "webReputationRights": {
- "webReputationConfigurationRights": {
- "canEditWebReputationConfiguration": true
}
}, - "firewallRights": {
- "contextRights": {
- "canCreateNewContexts": true,
- "canDeleteContexts": true,
- "canEditContextProperties": true
}, - "firewallRuleRights": {
- "canCreateNewFirewallRules": true,
- "canDeleteFirewallRules": true,
- "canEditFirewallRuleProperties": true
}, - "statefulConfigurationRights": {
- "canCreateNewStatefulConfigurations": true,
- "canDeleteStatefulConfigurations": true,
- "canEditStatefulConfigurationProperties": true
}, - "macListRights": {
- "canCreateNewMACLists": true,
- "canDeleteMACLists": true,
- "canEditMACListProperties": true
}
}, - "intrusionPreventionRights": {
- "applicationTypeRights": {
- "canCreateNewApplicationTypes": true,
- "canDeleteApplicationTypes": true,
- "canEditApplicationTypeProperties": true
}, - "intrusionPreventionRuleRights": {
- "canCreateNewIntrusionPreventionRules": true,
- "canDeleteIntrusionPreventionRules": true,
- "canEditIntrusionPreventionRuleProperties": true
}
}, - "integrityMonitoringRights": {
- "integrityMonitoringRuleRights": {
- "canCreateNewIntegrityMonitoringRules": true,
- "canDeleteIntegrityMonitoringRules": true,
- "canEditIntegrityMonitoringRuleProperties": true
}
}, - "logInspectionRights": {
- "logInspectionDecoderRights": {
- "canCreateNewLogInspectionDecoders": true,
- "canDeleteLogInspectionDecoders": true,
- "canEditLogInspectionDecoderProperties": true
}, - "logInspectionRuleRights": {
- "canCreateNewLogInspectionRules": true,
- "canDeleteLogInspectionRules": true,
- "canEditLogInspectionRuleProperties": true
}
}, - "applicationControlRights": {
- "driftRights": {
- "canAllowOrBlockDrift": true,
- "canViewDrift": true
}, - "rulesetRights": {
- "canCreateNewRulesets": true,
- "canDeleteRulesets": true,
- "canEditRulesetProperties": true,
- "canViewRulesets": true
}, - "ruleRights": {
- "canCreateNewAppControlRules": true,
- "canDeleteAppControlRules": true,
- "canEditAppControlRulesProperties": true,
- "canViewAppControlRules": true
}, - "softwareInventoryRights": {
- "canCreateNewSoftwareInventory": true,
- "canDeleteSoftwareInventory": true,
- "canViewSoftwareInventory": true
}
}, - "hostedServiceRights": {
- "accountRights": {
- "canDeleteAccounts": true,
- "canUpdateAccounts": true,
- "canViewAccountBilling": true
}, - "fixRights": {
- "canViewFixes": true
}, - "heapRights": {
- "canViewHeap": true
}, - "licenseRateRights": {
- "canSaveLicenseRates": true,
- "canViewLicenseRates": true
}, - "queryRights": {
- "canViewQuery": true
}, - "queryTracebackRights": {
- "canViewQueryTracebacks": true
}, - "serverLogRights": {
- "canViewServerLogs": true
}, - "stackTraceRights": {
- "canViewStackTraces": true
}
}, - "awsmarketplaceRights": {
- "billingInformationRights": {
- "canViewAWSBillingInformation": true
}
}
}, - "computerIDs": [
- 0
], - "computerGroupIDs": [
- 0
], - "policyIDs": [
- 0
], - "ID": 0
}
]
}
Create a new administrator role.
AdministratorRolesApi.createAdministratorRole([param1, param2, ...])
AdministratorRolesApi.create_administrator_role([param1, param2, ...])
AdministratorRolesApi.createAdministratorRole([param1, param2, ...])
The settings of the new administrator role.
successful operation
Not authorized to create administrator roles.
{- "name": "string",
- "description": "string",
- "canOnlyManipulateUsersWithEqualOrLesserRights": true,
- "allComputers": true,
- "allPolicies": true,
- "allowUserInterface": true,
- "allowWebService": true,
- "rights": {
- "platformRights": {
- "administratorRights": {
- "canCreateNewAdministrators": true,
- "canDeleteAdministrators": true,
- "canEditAdministratorProperties": true,
- "canViewAdministrators": true
}, - "administratorRoleRights": {
- "canCreateNewAdministratorRoles": true,
- "canDeleteAdministratorRoles": true,
- "canEditAdministratorRoleProperties": true,
- "canViewAdministratorRoles": true
}, - "alertConfigurationRights": {
- "canEditAlertConfigurations": true
}, - "alertRights": {
- "canDismissGlobalAlerts": true
}, - "certificateRights": {
- "canCreateNewCertificates": true,
- "canDeleteCertificates": true
}, - "computerRights": {
- "canAddAndRemoveComputerGroups": true,
- "canCreateNewComputers": true,
- "canDeleteComputers": true,
- "canDismissAlerts": true,
- "canEditComputerProperties": true,
- "canImportComputers": true,
- "canManageCloudAccounts": true,
- "canManageDirectories": true,
- "canManageVCenters": true,
- "canTagComputers": true,
- "canViewNotRelatedToComputers": true,
- "canViewOtherComputers": true
}, - "contactRights": {
- "canCreateNewContacts": true,
- "canDeleteContacts": true,
- "canEditContactProperties": true,
- "canViewContacts": true
}, - "diagnosticRights": {
- "canCreateDiagnosticPackages": true
}, - "assetValueRights": {
- "canCreateNewAssetValues": true,
- "canDeleteAssetValues": true,
- "canEditAssetValueProperties": true
}, - "licenseRights": {
- "canChangeLicense": true,
- "canViewLicense": true
}, - "multiTenantRights": {
- "canCreateTenants": true,
- "canDeleteTenants": true,
- "canEditTenantGeneralProperties": true,
- "canEditTenantModules": true,
- "canEditTenantAccountDetails": true,
- "canEditTenantFeatures": true,
- "canEditTenantSettings": true,
- "canCreateAndEditTenantDatabaseServers": true,
- "canDeleteTenantDatabaseServers": true,
- "canManageTenantAPIKeys": true,
- "canSignInAsTenant": true,
- "canViewTenants": true
}, - "policyRights": {
- "canCreateNewPolicies": true,
- "canDeletePolicies": true,
- "canEditPolicyProperties": true,
- "canImportPolicies": true,
- "canViewOtherPolicies": true
}, - "portListRights": {
- "canCreateNewPortLists": true,
- "canDeletePortLists": true,
- "canEditPortListProperties": true
}, - "proxyRights": {
- "canCreateNewProxies": true,
- "canDeleteProxies": true,
- "canEditProxyProperties": true
}, - "relayGroupRights": {
- "canCreateNewRelayGroups": true,
- "canDeleteRelayGroups": true,
- "canEditRelayGroupProperties": true
}, - "scanCacheRights": {
- "canManageScanCache": true
}, - "scheduledTaskRights": {
- "canCreateNewScheduledTasks": true,
- "canDeleteScheduledTasks": true,
- "canEditScheduledTaskProperties": true,
- "canExecuteScheduledTasks": true,
- "canViewScheduledTasks": true
}, - "scheduleRights": {
- "canCreateNewSchedules": true,
- "canDeleteSchedules": true,
- "canEditScheduleProperties": true
}, - "settingRights": {
- "canEditSettings": true,
- "canViewSettings": true
}, - "syslogConfigurationRights": {
- "canCreateNewSyslogConfigurations": true,
- "canDeleteSyslogConfigurations": true,
- "canEditSyslogConfigurationProperties": true
}, - "systemInformationRights": {
- "canManageExtensions": true,
- "canManageNodes": true,
- "canViewSystemInformation": true
}, - "taggingRights": {
- "canDeleteAutoTagRules": true,
- "canUpdateAutoTagRules": true,
- "canRunAutoTagRules": true,
- "canDeleteTags": true,
- "canTag": true
}, - "updateRights": {
- "canImportSoftware": true,
- "canDeleteSoftware": true,
- "canEditSoftwareProperties": true,
- "canImportRuleUpdates": true,
- "canDeleteRuleUpdates": true,
- "canViewRuleUpdates": true
}, - "apikeyRights": {
- "canCreateNewApiKeys": true,
- "canDeleteApiKeys": true,
- "canEditApiKeyProperties": true,
- "canViewApiKeys": true
}, - "iplistRights": {
- "canCreateNewIPLists": true,
- "canDeleteIPLists": true,
- "canEditIPListProperties": true
}, - "samlidentityProviderRights": {
- "canCreateNewSAMLIdentityProviders": true,
- "canDeleteSAMLIdentityProviders": true,
- "canEditSAMLIdentityProviders": true,
- "canViewSAMLIdentityProviders": true
}
}, - "antiMalwareRights": {
- "antiMalwareConfigurationRights": {
- "canCreateNewAntiMalwareConfigurations": true,
- "canDeleteAntiMalwareConfigurations": true,
- "canEditAntiMalwareConfigurations": true
}, - "directoryListRights": {
- "canCreateNewDirectoryLists": true,
- "canDeleteDirectoryLists": true,
- "canEditDirectoryListProperties": true
}, - "fileListRights": {
- "canCreateNewFileLists": true,
- "canDeleteFileLists": true,
- "canEditFileListProperties": true
}, - "fileExtensionListRights": {
- "canCreateNewFileExtensionLists": true,
- "canDeleteFileExtensionLists": true,
- "canEditFileExtensionListProperties": true
}, - "identifiedFileRights": {
- "canDeleteIdentifiedFiles": true,
- "canDownloadIdentifiedFiles": true,
- "canRestoreIdentifiedFiles": true,
- "canSubmitIdentifiedFiles": true
}
}, - "webReputationRights": {
- "webReputationConfigurationRights": {
- "canEditWebReputationConfiguration": true
}
}, - "firewallRights": {
- "contextRights": {
- "canCreateNewContexts": true,
- "canDeleteContexts": true,
- "canEditContextProperties": true
}, - "firewallRuleRights": {
- "canCreateNewFirewallRules": true,
- "canDeleteFirewallRules": true,
- "canEditFirewallRuleProperties": true
}, - "statefulConfigurationRights": {
- "canCreateNewStatefulConfigurations": true,
- "canDeleteStatefulConfigurations": true,
- "canEditStatefulConfigurationProperties": true
}, - "macListRights": {
- "canCreateNewMACLists": true,
- "canDeleteMACLists": true,
- "canEditMACListProperties": true
}
}, - "intrusionPreventionRights": {
- "applicationTypeRights": {
- "canCreateNewApplicationTypes": true,
- "canDeleteApplicationTypes": true,
- "canEditApplicationTypeProperties": true
}, - "intrusionPreventionRuleRights": {
- "canCreateNewIntrusionPreventionRules": true,
- "canDeleteIntrusionPreventionRules": true,
- "canEditIntrusionPreventionRuleProperties": true
}
}, - "integrityMonitoringRights": {
- "integrityMonitoringRuleRights": {
- "canCreateNewIntegrityMonitoringRules": true,
- "canDeleteIntegrityMonitoringRules": true,
- "canEditIntegrityMonitoringRuleProperties": true
}
}, - "logInspectionRights": {
- "logInspectionDecoderRights": {
- "canCreateNewLogInspectionDecoders": true,
- "canDeleteLogInspectionDecoders": true,
- "canEditLogInspectionDecoderProperties": true
}, - "logInspectionRuleRights": {
- "canCreateNewLogInspectionRules": true,
- "canDeleteLogInspectionRules": true,
- "canEditLogInspectionRuleProperties": true
}
}, - "applicationControlRights": {
- "driftRights": {
- "canAllowOrBlockDrift": true,
- "canViewDrift": true
}, - "rulesetRights": {
- "canCreateNewRulesets": true,
- "canDeleteRulesets": true,
- "canEditRulesetProperties": true,
- "canViewRulesets": true
}, - "ruleRights": {
- "canCreateNewAppControlRules": true,
- "canDeleteAppControlRules": true,
- "canEditAppControlRulesProperties": true,
- "canViewAppControlRules": true
}, - "softwareInventoryRights": {
- "canCreateNewSoftwareInventory": true,
- "canDeleteSoftwareInventory": true,
- "canViewSoftwareInventory": true
}
}, - "hostedServiceRights": {
- "accountRights": {
- "canDeleteAccounts": true,
- "canUpdateAccounts": true,
- "canViewAccountBilling": true
}, - "fixRights": {
- "canViewFixes": true
}, - "heapRights": {
- "canViewHeap": true
}, - "licenseRateRights": {
- "canSaveLicenseRates": true,
- "canViewLicenseRates": true
}, - "queryRights": {
- "canViewQuery": true
}, - "queryTracebackRights": {
- "canViewQueryTracebacks": true
}, - "serverLogRights": {
- "canViewServerLogs": true
}, - "stackTraceRights": {
- "canViewStackTraces": true
}
}, - "awsmarketplaceRights": {
- "billingInformationRights": {
- "canViewAWSBillingInformation": true
}
}
}, - "computerIDs": [
- 0
], - "computerGroupIDs": [
- 0
], - "policyIDs": [
- 0
]
}
{- "name": "string",
- "description": "string",
- "urn": "string",
- "immutable": true,
- "canOnlyManipulateUsersWithEqualOrLesserRights": true,
- "allComputers": true,
- "allPolicies": true,
- "allowUserInterface": true,
- "allowWebService": true,
- "rights": {
- "platformRights": {
- "administratorRights": {
- "canCreateNewAdministrators": true,
- "canDeleteAdministrators": true,
- "canEditAdministratorProperties": true,
- "canViewAdministrators": true
}, - "administratorRoleRights": {
- "canCreateNewAdministratorRoles": true,
- "canDeleteAdministratorRoles": true,
- "canEditAdministratorRoleProperties": true,
- "canViewAdministratorRoles": true
}, - "alertConfigurationRights": {
- "canEditAlertConfigurations": true
}, - "alertRights": {
- "canDismissGlobalAlerts": true
}, - "certificateRights": {
- "canCreateNewCertificates": true,
- "canDeleteCertificates": true
}, - "computerRights": {
- "canAddAndRemoveComputerGroups": true,
- "canCreateNewComputers": true,
- "canDeleteComputers": true,
- "canDismissAlerts": true,
- "canEditComputerProperties": true,
- "canImportComputers": true,
- "canManageCloudAccounts": true,
- "canManageDirectories": true,
- "canManageVCenters": true,
- "canTagComputers": true,
- "canViewNotRelatedToComputers": true,
- "canViewOtherComputers": true
}, - "contactRights": {
- "canCreateNewContacts": true,
- "canDeleteContacts": true,
- "canEditContactProperties": true,
- "canViewContacts": true
}, - "diagnosticRights": {
- "canCreateDiagnosticPackages": true
}, - "assetValueRights": {
- "canCreateNewAssetValues": true,
- "canDeleteAssetValues": true,
- "canEditAssetValueProperties": true
}, - "licenseRights": {
- "canChangeLicense": true,
- "canViewLicense": true
}, - "multiTenantRights": {
- "canCreateTenants": true,
- "canDeleteTenants": true,
- "canEditTenantGeneralProperties": true,
- "canEditTenantModules": true,
- "canEditTenantAccountDetails": true,
- "canEditTenantFeatures": true,
- "canEditTenantSettings": true,
- "canCreateAndEditTenantDatabaseServers": true,
- "canDeleteTenantDatabaseServers": true,
- "canManageTenantAPIKeys": true,
- "canSignInAsTenant": true,
- "canViewTenants": true
}, - "policyRights": {
- "canCreateNewPolicies": true,
- "canDeletePolicies": true,
- "canEditPolicyProperties": true,
- "canImportPolicies": true,
- "canViewOtherPolicies": true
}, - "portListRights": {
- "canCreateNewPortLists": true,
- "canDeletePortLists": true,
- "canEditPortListProperties": true
}, - "proxyRights": {
- "canCreateNewProxies": true,
- "canDeleteProxies": true,
- "canEditProxyProperties": true
}, - "relayGroupRights": {
- "canCreateNewRelayGroups": true,
- "canDeleteRelayGroups": true,
- "canEditRelayGroupProperties": true
}, - "scanCacheRights": {
- "canManageScanCache": true
}, - "scheduledTaskRights": {
- "canCreateNewScheduledTasks": true,
- "canDeleteScheduledTasks": true,
- "canEditScheduledTaskProperties": true,
- "canExecuteScheduledTasks": true,
- "canViewScheduledTasks": true
}, - "scheduleRights": {
- "canCreateNewSchedules": true,
- "canDeleteSchedules": true,
- "canEditScheduleProperties": true
}, - "settingRights": {
- "canEditSettings": true,
- "canViewSettings": true
}, - "syslogConfigurationRights": {
- "canCreateNewSyslogConfigurations": true,
- "canDeleteSyslogConfigurations": true,
- "canEditSyslogConfigurationProperties": true
}, - "systemInformationRights": {
- "canManageExtensions": true,
- "canManageNodes": true,
- "canViewSystemInformation": true
}, - "taggingRights": {
- "canDeleteAutoTagRules": true,
- "canUpdateAutoTagRules": true,
- "canRunAutoTagRules": true,
- "canDeleteTags": true,
- "canTag": true
}, - "updateRights": {
- "canImportSoftware": true,
- "canDeleteSoftware": true,
- "canEditSoftwareProperties": true,
- "canImportRuleUpdates": true,
- "canDeleteRuleUpdates": true,
- "canViewRuleUpdates": true
}, - "apikeyRights": {
- "canCreateNewApiKeys": true,
- "canDeleteApiKeys": true,
- "canEditApiKeyProperties": true,
- "canViewApiKeys": true
}, - "iplistRights": {
- "canCreateNewIPLists": true,
- "canDeleteIPLists": true,
- "canEditIPListProperties": true
}, - "samlidentityProviderRights": {
- "canCreateNewSAMLIdentityProviders": true,
- "canDeleteSAMLIdentityProviders": true,
- "canEditSAMLIdentityProviders": true,
- "canViewSAMLIdentityProviders": true
}
}, - "antiMalwareRights": {
- "antiMalwareConfigurationRights": {
- "canCreateNewAntiMalwareConfigurations": true,
- "canDeleteAntiMalwareConfigurations": true,
- "canEditAntiMalwareConfigurations": true
}, - "directoryListRights": {
- "canCreateNewDirectoryLists": true,
- "canDeleteDirectoryLists": true,
- "canEditDirectoryListProperties": true
}, - "fileListRights": {
- "canCreateNewFileLists": true,
- "canDeleteFileLists": true,
- "canEditFileListProperties": true
}, - "fileExtensionListRights": {
- "canCreateNewFileExtensionLists": true,
- "canDeleteFileExtensionLists": true,
- "canEditFileExtensionListProperties": true
}, - "identifiedFileRights": {
- "canDeleteIdentifiedFiles": true,
- "canDownloadIdentifiedFiles": true,
- "canRestoreIdentifiedFiles": true,
- "canSubmitIdentifiedFiles": true
}
}, - "webReputationRights": {
- "webReputationConfigurationRights": {
- "canEditWebReputationConfiguration": true
}
}, - "firewallRights": {
- "contextRights": {
- "canCreateNewContexts": true,
- "canDeleteContexts": true,
- "canEditContextProperties": true
}, - "firewallRuleRights": {
- "canCreateNewFirewallRules": true,
- "canDeleteFirewallRules": true,
- "canEditFirewallRuleProperties": true
}, - "statefulConfigurationRights": {
- "canCreateNewStatefulConfigurations": true,
- "canDeleteStatefulConfigurations": true,
- "canEditStatefulConfigurationProperties": true
}, - "macListRights": {
- "canCreateNewMACLists": true,
- "canDeleteMACLists": true,
- "canEditMACListProperties": true
}
}, - "intrusionPreventionRights": {
- "applicationTypeRights": {
- "canCreateNewApplicationTypes": true,
- "canDeleteApplicationTypes": true,
- "canEditApplicationTypeProperties": true
}, - "intrusionPreventionRuleRights": {
- "canCreateNewIntrusionPreventionRules": true,
- "canDeleteIntrusionPreventionRules": true,
- "canEditIntrusionPreventionRuleProperties": true
}
}, - "integrityMonitoringRights": {
- "integrityMonitoringRuleRights": {
- "canCreateNewIntegrityMonitoringRules": true,
- "canDeleteIntegrityMonitoringRules": true,
- "canEditIntegrityMonitoringRuleProperties": true
}
}, - "logInspectionRights": {
- "logInspectionDecoderRights": {
- "canCreateNewLogInspectionDecoders": true,
- "canDeleteLogInspectionDecoders": true,
- "canEditLogInspectionDecoderProperties": true
}, - "logInspectionRuleRights": {
- "canCreateNewLogInspectionRules": true,
- "canDeleteLogInspectionRules": true,
- "canEditLogInspectionRuleProperties": true
}
}, - "applicationControlRights": {
- "driftRights": {
- "canAllowOrBlockDrift": true,
- "canViewDrift": true
}, - "rulesetRights": {
- "canCreateNewRulesets": true,
- "canDeleteRulesets": true,
- "canEditRulesetProperties": true,
- "canViewRulesets": true
}, - "ruleRights": {
- "canCreateNewAppControlRules": true,
- "canDeleteAppControlRules": true,
- "canEditAppControlRulesProperties": true,
- "canViewAppControlRules": true
}, - "softwareInventoryRights": {
- "canCreateNewSoftwareInventory": true,
- "canDeleteSoftwareInventory": true,
- "canViewSoftwareInventory": true
}
}, - "hostedServiceRights": {
- "accountRights": {
- "canDeleteAccounts": true,
- "canUpdateAccounts": true,
- "canViewAccountBilling": true
}, - "fixRights": {
- "canViewFixes": true
}, - "heapRights": {
- "canViewHeap": true
}, - "licenseRateRights": {
- "canSaveLicenseRates": true,
- "canViewLicenseRates": true
}, - "queryRights": {
- "canViewQuery": true
}, - "queryTracebackRights": {
- "canViewQueryTracebacks": true
}, - "serverLogRights": {
- "canViewServerLogs": true
}, - "stackTraceRights": {
- "canViewStackTraces": true
}
}, - "awsmarketplaceRights": {
- "billingInformationRights": {
- "canViewAWSBillingInformation": true
}
}
}, - "computerIDs": [
- 0
], - "computerGroupIDs": [
- 0
], - "policyIDs": [
- 0
], - "ID": 0
}
Search for administrator roles using optional filters.
AdministratorRolesApi.searchAdministratorRoles([param1, param2, ...])
AdministratorRolesApi.search_administrator_roles([param1, param2, ...])
AdministratorRolesApi.searchAdministratorRoles([param1, param2, ...])
A collection of options used to filter the search results.
successful operation
Not authorized to view administrator roles.
{- "maxItems": 0,
- "searchCriteria": [
- {
- "fieldName": "string",
- "booleanTest": true,
- "numericTest": "less-than",
- "numericValue": 0,
- "stringTest": "equal",
- "stringValue": "string",
- "stringWildcards": true,
- "choiceTest": "equal",
- "choiceValue": "string",
- "firstDateValue": 0,
- "firstDateInclusive": true,
- "lastDateValue": 0,
- "lastDateInclusive": true,
- "nullTest": true,
- "idValue": 0,
- "idTest": "less-than"
}
], - "sortByObjectID": true
}
{- "roles": [
- {
- "name": "string",
- "description": "string",
- "urn": "string",
- "immutable": true,
- "canOnlyManipulateUsersWithEqualOrLesserRights": true,
- "allComputers": true,
- "allPolicies": true,
- "allowUserInterface": true,
- "allowWebService": true,
- "rights": {
- "platformRights": {
- "administratorRights": {
- "canCreateNewAdministrators": true,
- "canDeleteAdministrators": true,
- "canEditAdministratorProperties": true,
- "canViewAdministrators": true
}, - "administratorRoleRights": {
- "canCreateNewAdministratorRoles": true,
- "canDeleteAdministratorRoles": true,
- "canEditAdministratorRoleProperties": true,
- "canViewAdministratorRoles": true
}, - "alertConfigurationRights": {
- "canEditAlertConfigurations": true
}, - "alertRights": {
- "canDismissGlobalAlerts": true
}, - "certificateRights": {
- "canCreateNewCertificates": true,
- "canDeleteCertificates": true
}, - "computerRights": {
- "canAddAndRemoveComputerGroups": true,
- "canCreateNewComputers": true,
- "canDeleteComputers": true,
- "canDismissAlerts": true,
- "canEditComputerProperties": true,
- "canImportComputers": true,
- "canManageCloudAccounts": true,
- "canManageDirectories": true,
- "canManageVCenters": true,
- "canTagComputers": true,
- "canViewNotRelatedToComputers": true,
- "canViewOtherComputers": true
}, - "contactRights": {
- "canCreateNewContacts": true,
- "canDeleteContacts": true,
- "canEditContactProperties": true,
- "canViewContacts": true
}, - "diagnosticRights": {
- "canCreateDiagnosticPackages": true
}, - "assetValueRights": {
- "canCreateNewAssetValues": true,
- "canDeleteAssetValues": true,
- "canEditAssetValueProperties": true
}, - "licenseRights": {
- "canChangeLicense": true,
- "canViewLicense": true
}, - "multiTenantRights": {
- "canCreateTenants": true,
- "canDeleteTenants": true,
- "canEditTenantGeneralProperties": true,
- "canEditTenantModules": true,
- "canEditTenantAccountDetails": true,
- "canEditTenantFeatures": true,
- "canEditTenantSettings": true,
- "canCreateAndEditTenantDatabaseServers": true,
- "canDeleteTenantDatabaseServers": true,
- "canManageTenantAPIKeys": true,
- "canSignInAsTenant": true,
- "canViewTenants": true
}, - "policyRights": {
- "canCreateNewPolicies": true,
- "canDeletePolicies": true,
- "canEditPolicyProperties": true,
- "canImportPolicies": true,
- "canViewOtherPolicies": true
}, - "portListRights": {
- "canCreateNewPortLists": true,
- "canDeletePortLists": true,
- "canEditPortListProperties": true
}, - "proxyRights": {
- "canCreateNewProxies": true,
- "canDeleteProxies": true,
- "canEditProxyProperties": true
}, - "relayGroupRights": {
- "canCreateNewRelayGroups": true,
- "canDeleteRelayGroups": true,
- "canEditRelayGroupProperties": true
}, - "scanCacheRights": {
- "canManageScanCache": true
}, - "scheduledTaskRights": {
- "canCreateNewScheduledTasks": true,
- "canDeleteScheduledTasks": true,
- "canEditScheduledTaskProperties": true,
- "canExecuteScheduledTasks": true,
- "canViewScheduledTasks": true
}, - "scheduleRights": {
- "canCreateNewSchedules": true,
- "canDeleteSchedules": true,
- "canEditScheduleProperties": true
}, - "settingRights": {
- "canEditSettings": true,
- "canViewSettings": true
}, - "syslogConfigurationRights": {
- "canCreateNewSyslogConfigurations": true,
- "canDeleteSyslogConfigurations": true,
- "canEditSyslogConfigurationProperties": true
}, - "systemInformationRights": {
- "canManageExtensions": true,
- "canManageNodes": true,
- "canViewSystemInformation": true
}, - "taggingRights": {
- "canDeleteAutoTagRules": true,
- "canUpdateAutoTagRules": true,
- "canRunAutoTagRules": true,
- "canDeleteTags": true,
- "canTag": true
}, - "updateRights": {
- "canImportSoftware": true,
- "canDeleteSoftware": true,
- "canEditSoftwareProperties": true,
- "canImportRuleUpdates": true,
- "canDeleteRuleUpdates": true,
- "canViewRuleUpdates": true
}, - "apikeyRights": {
- "canCreateNewApiKeys": true,
- "canDeleteApiKeys": true,
- "canEditApiKeyProperties": true,
- "canViewApiKeys": true
}, - "iplistRights": {
- "canCreateNewIPLists": true,
- "canDeleteIPLists": true,
- "canEditIPListProperties": true
}, - "samlidentityProviderRights": {
- "canCreateNewSAMLIdentityProviders": true,
- "canDeleteSAMLIdentityProviders": true,
- "canEditSAMLIdentityProviders": true,
- "canViewSAMLIdentityProviders": true
}
}, - "antiMalwareRights": {
- "antiMalwareConfigurationRights": {
- "canCreateNewAntiMalwareConfigurations": true,
- "canDeleteAntiMalwareConfigurations": true,
- "canEditAntiMalwareConfigurations": true
}, - "directoryListRights": {
- "canCreateNewDirectoryLists": true,
- "canDeleteDirectoryLists": true,
- "canEditDirectoryListProperties": true
}, - "fileListRights": {
- "canCreateNewFileLists": true,
- "canDeleteFileLists": true,
- "canEditFileListProperties": true
}, - "fileExtensionListRights": {
- "canCreateNewFileExtensionLists": true,
- "canDeleteFileExtensionLists": true,
- "canEditFileExtensionListProperties": true
}, - "identifiedFileRights": {
- "canDeleteIdentifiedFiles": true,
- "canDownloadIdentifiedFiles": true,
- "canRestoreIdentifiedFiles": true,
- "canSubmitIdentifiedFiles": true
}
}, - "webReputationRights": {
- "webReputationConfigurationRights": {
- "canEditWebReputationConfiguration": true
}
}, - "firewallRights": {
- "contextRights": {
- "canCreateNewContexts": true,
- "canDeleteContexts": true,
- "canEditContextProperties": true
}, - "firewallRuleRights": {
- "canCreateNewFirewallRules": true,
- "canDeleteFirewallRules": true,
- "canEditFirewallRuleProperties": true
}, - "statefulConfigurationRights": {
- "canCreateNewStatefulConfigurations": true,
- "canDeleteStatefulConfigurations": true,
- "canEditStatefulConfigurationProperties": true
}, - "macListRights": {
- "canCreateNewMACLists": true,
- "canDeleteMACLists": true,
- "canEditMACListProperties": true
}
}, - "intrusionPreventionRights": {
- "applicationTypeRights": {
- "canCreateNewApplicationTypes": true,
- "canDeleteApplicationTypes": true,
- "canEditApplicationTypeProperties": true
}, - "intrusionPreventionRuleRights": {
- "canCreateNewIntrusionPreventionRules": true,
- "canDeleteIntrusionPreventionRules": true,
- "canEditIntrusionPreventionRuleProperties": true
}
}, - "integrityMonitoringRights": {
- "integrityMonitoringRuleRights": {
- "canCreateNewIntegrityMonitoringRules": true,
- "canDeleteIntegrityMonitoringRules": true,
- "canEditIntegrityMonitoringRuleProperties": true
}
}, - "logInspectionRights": {
- "logInspectionDecoderRights": {
- "canCreateNewLogInspectionDecoders": true,
- "canDeleteLogInspectionDecoders": true,
- "canEditLogInspectionDecoderProperties": true
}, - "logInspectionRuleRights": {
- "canCreateNewLogInspectionRules": true,
- "canDeleteLogInspectionRules": true,
- "canEditLogInspectionRuleProperties": true
}
}, - "applicationControlRights": {
- "driftRights": {
- "canAllowOrBlockDrift": true,
- "canViewDrift": true
}, - "rulesetRights": {
- "canCreateNewRulesets": true,
- "canDeleteRulesets": true,
- "canEditRulesetProperties": true,
- "canViewRulesets": true
}, - "ruleRights": {
- "canCreateNewAppControlRules": true,
- "canDeleteAppControlRules": true,
- "canEditAppControlRulesProperties": true,
- "canViewAppControlRules": true
}, - "softwareInventoryRights": {
- "canCreateNewSoftwareInventory": true,
- "canDeleteSoftwareInventory": true,
- "canViewSoftwareInventory": true
}
}, - "hostedServiceRights": {
- "accountRights": {
- "canDeleteAccounts": true,
- "canUpdateAccounts": true,
- "canViewAccountBilling": true
}, - "fixRights": {
- "canViewFixes": true
}, - "heapRights": {
- "canViewHeap": true
}, - "licenseRateRights": {
- "canSaveLicenseRates": true,
- "canViewLicenseRates": true
}, - "queryRights": {
- "canViewQuery": true
}, - "queryTracebackRights": {
- "canViewQueryTracebacks": true
}, - "serverLogRights": {
- "canViewServerLogs": true
}, - "stackTraceRights": {
- "canViewStackTraces": true
}
}, - "awsmarketplaceRights": {
- "billingInformationRights": {
- "canViewAWSBillingInformation": true
}
}
}, - "computerIDs": [
- 0
], - "computerGroupIDs": [
- 0
], - "policyIDs": [
- 0
], - "ID": 0
}
]
}
Describe an administrator role by ID.
AdministratorRolesApi.describeAdministratorRole([param1, param2, ...])
AdministratorRolesApi.describe_administrator_role([param1, param2, ...])
AdministratorRolesApi.describeAdministratorRole([param1, param2, ...])
successful operation
Not authorized to view administrator roles.
The administrator role does not exist.
import com.trendmicro.deepsecurity.ApiClient; import com.trendmicro.deepsecurity.Configuration; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.ApiException; import com.trendmicro.deepsecurity.api.AdministratorRolesApi; import com.trendmicro.deepsecurity.model.Role; public class DescribeAdministratorRoleExample { public static void main(String[] args) { // Setup ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("YOUR HOST"); // Authentication ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication"); DefaultAuthentication.setApiKey("YOUR API KEY"); try { defaultClient.trustAllCertificates(false); } catch (Exception e) { System.err.println("An exception occurred when calling ApiClient.trustAllCertificates"); e.printStackTrace(); } // Initialization // Set Any Required Values AdministratorRolesApi instance = new AdministratorRolesApi(); Integer roleID = 1; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours Role result = instance.describeAdministratorRole(roleID, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling AdministratorRolesApi.describeAdministratorRole"); e.printStackTrace(); } } }
{- "name": "string",
- "description": "string",
- "urn": "string",
- "immutable": true,
- "canOnlyManipulateUsersWithEqualOrLesserRights": true,
- "allComputers": true,
- "allPolicies": true,
- "allowUserInterface": true,
- "allowWebService": true,
- "rights": {
- "platformRights": {
- "administratorRights": {
- "canCreateNewAdministrators": true,
- "canDeleteAdministrators": true,
- "canEditAdministratorProperties": true,
- "canViewAdministrators": true
}, - "administratorRoleRights": {
- "canCreateNewAdministratorRoles": true,
- "canDeleteAdministratorRoles": true,
- "canEditAdministratorRoleProperties": true,
- "canViewAdministratorRoles": true
}, - "alertConfigurationRights": {
- "canEditAlertConfigurations": true
}, - "alertRights": {
- "canDismissGlobalAlerts": true
}, - "certificateRights": {
- "canCreateNewCertificates": true,
- "canDeleteCertificates": true
}, - "computerRights": {
- "canAddAndRemoveComputerGroups": true,
- "canCreateNewComputers": true,
- "canDeleteComputers": true,
- "canDismissAlerts": true,
- "canEditComputerProperties": true,
- "canImportComputers": true,
- "canManageCloudAccounts": true,
- "canManageDirectories": true,
- "canManageVCenters": true,
- "canTagComputers": true,
- "canViewNotRelatedToComputers": true,
- "canViewOtherComputers": true
}, - "contactRights": {
- "canCreateNewContacts": true,
- "canDeleteContacts": true,
- "canEditContactProperties": true,
- "canViewContacts": true
}, - "diagnosticRights": {
- "canCreateDiagnosticPackages": true
}, - "assetValueRights": {
- "canCreateNewAssetValues": true,
- "canDeleteAssetValues": true,
- "canEditAssetValueProperties": true
}, - "licenseRights": {
- "canChangeLicense": true,
- "canViewLicense": true
}, - "multiTenantRights": {
- "canCreateTenants": true,
- "canDeleteTenants": true,
- "canEditTenantGeneralProperties": true,
- "canEditTenantModules": true,
- "canEditTenantAccountDetails": true,
- "canEditTenantFeatures": true,
- "canEditTenantSettings": true,
- "canCreateAndEditTenantDatabaseServers": true,
- "canDeleteTenantDatabaseServers": true,
- "canManageTenantAPIKeys": true,
- "canSignInAsTenant": true,
- "canViewTenants": true
}, - "policyRights": {
- "canCreateNewPolicies": true,
- "canDeletePolicies": true,
- "canEditPolicyProperties": true,
- "canImportPolicies": true,
- "canViewOtherPolicies": true
}, - "portListRights": {
- "canCreateNewPortLists": true,
- "canDeletePortLists": true,
- "canEditPortListProperties": true
}, - "proxyRights": {
- "canCreateNewProxies": true,
- "canDeleteProxies": true,
- "canEditProxyProperties": true
}, - "relayGroupRights": {
- "canCreateNewRelayGroups": true,
- "canDeleteRelayGroups": true,
- "canEditRelayGroupProperties": true
}, - "scanCacheRights": {
- "canManageScanCache": true
}, - "scheduledTaskRights": {
- "canCreateNewScheduledTasks": true,
- "canDeleteScheduledTasks": true,
- "canEditScheduledTaskProperties": true,
- "canExecuteScheduledTasks": true,
- "canViewScheduledTasks": true
}, - "scheduleRights": {
- "canCreateNewSchedules": true,
- "canDeleteSchedules": true,
- "canEditScheduleProperties": true
}, - "settingRights": {
- "canEditSettings": true,
- "canViewSettings": true
}, - "syslogConfigurationRights": {
- "canCreateNewSyslogConfigurations": true,
- "canDeleteSyslogConfigurations": true,
- "canEditSyslogConfigurationProperties": true
}, - "systemInformationRights": {
- "canManageExtensions": true,
- "canManageNodes": true,
- "canViewSystemInformation": true
}, - "taggingRights": {
- "canDeleteAutoTagRules": true,
- "canUpdateAutoTagRules": true,
- "canRunAutoTagRules": true,
- "canDeleteTags": true,
- "canTag": true
}, - "updateRights": {
- "canImportSoftware": true,
- "canDeleteSoftware": true,
- "canEditSoftwareProperties": true,
- "canImportRuleUpdates": true,
- "canDeleteRuleUpdates": true,
- "canViewRuleUpdates": true
}, - "apikeyRights": {
- "canCreateNewApiKeys": true,
- "canDeleteApiKeys": true,
- "canEditApiKeyProperties": true,
- "canViewApiKeys": true
}, - "iplistRights": {
- "canCreateNewIPLists": true,
- "canDeleteIPLists": true,
- "canEditIPListProperties": true
}, - "samlidentityProviderRights": {
- "canCreateNewSAMLIdentityProviders": true,
- "canDeleteSAMLIdentityProviders": true,
- "canEditSAMLIdentityProviders": true,
- "canViewSAMLIdentityProviders": true
}
}, - "antiMalwareRights": {
- "antiMalwareConfigurationRights": {
- "canCreateNewAntiMalwareConfigurations": true,
- "canDeleteAntiMalwareConfigurations": true,
- "canEditAntiMalwareConfigurations": true
}, - "directoryListRights": {
- "canCreateNewDirectoryLists": true,
- "canDeleteDirectoryLists": true,
- "canEditDirectoryListProperties": true
}, - "fileListRights": {
- "canCreateNewFileLists": true,
- "canDeleteFileLists": true,
- "canEditFileListProperties": true
}, - "fileExtensionListRights": {
- "canCreateNewFileExtensionLists": true,
- "canDeleteFileExtensionLists": true,
- "canEditFileExtensionListProperties": true
}, - "identifiedFileRights": {
- "canDeleteIdentifiedFiles": true,
- "canDownloadIdentifiedFiles": true,
- "canRestoreIdentifiedFiles": true,
- "canSubmitIdentifiedFiles": true
}
}, - "webReputationRights": {
- "webReputationConfigurationRights": {
- "canEditWebReputationConfiguration": true
}
}, - "firewallRights": {
- "contextRights": {
- "canCreateNewContexts": true,
- "canDeleteContexts": true,
- "canEditContextProperties": true
}, - "firewallRuleRights": {
- "canCreateNewFirewallRules": true,
- "canDeleteFirewallRules": true,
- "canEditFirewallRuleProperties": true
}, - "statefulConfigurationRights": {
- "canCreateNewStatefulConfigurations": true,
- "canDeleteStatefulConfigurations": true,
- "canEditStatefulConfigurationProperties": true
}, - "macListRights": {
- "canCreateNewMACLists": true,
- "canDeleteMACLists": true,
- "canEditMACListProperties": true
}
}, - "intrusionPreventionRights": {
- "applicationTypeRights": {
- "canCreateNewApplicationTypes": true,
- "canDeleteApplicationTypes": true,
- "canEditApplicationTypeProperties": true
}, - "intrusionPreventionRuleRights": {
- "canCreateNewIntrusionPreventionRules": true,
- "canDeleteIntrusionPreventionRules": true,
- "canEditIntrusionPreventionRuleProperties": true
}
}, - "integrityMonitoringRights": {
- "integrityMonitoringRuleRights": {
- "canCreateNewIntegrityMonitoringRules": true,
- "canDeleteIntegrityMonitoringRules": true,
- "canEditIntegrityMonitoringRuleProperties": true
}
}, - "logInspectionRights": {
- "logInspectionDecoderRights": {
- "canCreateNewLogInspectionDecoders": true,
- "canDeleteLogInspectionDecoders": true,
- "canEditLogInspectionDecoderProperties": true
}, - "logInspectionRuleRights": {
- "canCreateNewLogInspectionRules": true,
- "canDeleteLogInspectionRules": true,
- "canEditLogInspectionRuleProperties": true
}
}, - "applicationControlRights": {
- "driftRights": {
- "canAllowOrBlockDrift": true,
- "canViewDrift": true
}, - "rulesetRights": {
- "canCreateNewRulesets": true,
- "canDeleteRulesets": true,
- "canEditRulesetProperties": true,
- "canViewRulesets": true
}, - "ruleRights": {
- "canCreateNewAppControlRules": true,
- "canDeleteAppControlRules": true,
- "canEditAppControlRulesProperties": true,
- "canViewAppControlRules": true
}, - "softwareInventoryRights": {
- "canCreateNewSoftwareInventory": true,
- "canDeleteSoftwareInventory": true,
- "canViewSoftwareInventory": true
}
}, - "hostedServiceRights": {
- "accountRights": {
- "canDeleteAccounts": true,
- "canUpdateAccounts": true,
- "canViewAccountBilling": true
}, - "fixRights": {
- "canViewFixes": true
}, - "heapRights": {
- "canViewHeap": true
}, - "licenseRateRights": {
- "canSaveLicenseRates": true,
- "canViewLicenseRates": true
}, - "queryRights": {
- "canViewQuery": true
}, - "queryTracebackRights": {
- "canViewQueryTracebacks": true
}, - "serverLogRights": {
- "canViewServerLogs": true
}, - "stackTraceRights": {
- "canViewStackTraces": true
}
}, - "awsmarketplaceRights": {
- "billingInformationRights": {
- "canViewAWSBillingInformation": true
}
}
}, - "computerIDs": [
- 0
], - "computerGroupIDs": [
- 0
], - "policyIDs": [
- 0
], - "ID": 0
}
Modify an administrator role by ID.
AdministratorRolesApi.modifyAdministratorRole([param1, param2, ...])
AdministratorRolesApi.modify_administrator_role([param1, param2, ...])
AdministratorRolesApi.modifyAdministratorRole([param1, param2, ...])
The settings of the administrator role to modify.
successful operation
Not authorized to modify administrator roles or the requested modification is not permitted.
The administrator role does not exist.
{- "name": "string",
- "description": "string",
- "canOnlyManipulateUsersWithEqualOrLesserRights": true,
- "allComputers": true,
- "allPolicies": true,
- "allowUserInterface": true,
- "allowWebService": true,
- "rights": {
- "platformRights": {
- "administratorRights": {
- "canCreateNewAdministrators": true,
- "canDeleteAdministrators": true,
- "canEditAdministratorProperties": true,
- "canViewAdministrators": true
}, - "administratorRoleRights": {
- "canCreateNewAdministratorRoles": true,
- "canDeleteAdministratorRoles": true,
- "canEditAdministratorRoleProperties": true,
- "canViewAdministratorRoles": true
}, - "alertConfigurationRights": {
- "canEditAlertConfigurations": true
}, - "alertRights": {
- "canDismissGlobalAlerts": true
}, - "certificateRights": {
- "canCreateNewCertificates": true,
- "canDeleteCertificates": true
}, - "computerRights": {
- "canAddAndRemoveComputerGroups": true,
- "canCreateNewComputers": true,
- "canDeleteComputers": true,
- "canDismissAlerts": true,
- "canEditComputerProperties": true,
- "canImportComputers": true,
- "canManageCloudAccounts": true,
- "canManageDirectories": true,
- "canManageVCenters": true,
- "canTagComputers": true,
- "canViewNotRelatedToComputers": true,
- "canViewOtherComputers": true
}, - "contactRights": {
- "canCreateNewContacts": true,
- "canDeleteContacts": true,
- "canEditContactProperties": true,
- "canViewContacts": true
}, - "diagnosticRights": {
- "canCreateDiagnosticPackages": true
}, - "assetValueRights": {
- "canCreateNewAssetValues": true,
- "canDeleteAssetValues": true,
- "canEditAssetValueProperties": true
}, - "licenseRights": {
- "canChangeLicense": true,
- "canViewLicense": true
}, - "multiTenantRights": {
- "canCreateTenants": true,
- "canDeleteTenants": true,
- "canEditTenantGeneralProperties": true,
- "canEditTenantModules": true,
- "canEditTenantAccountDetails": true,
- "canEditTenantFeatures": true,
- "canEditTenantSettings": true,
- "canCreateAndEditTenantDatabaseServers": true,
- "canDeleteTenantDatabaseServers": true,
- "canManageTenantAPIKeys": true,
- "canSignInAsTenant": true,
- "canViewTenants": true
}, - "policyRights": {
- "canCreateNewPolicies": true,
- "canDeletePolicies": true,
- "canEditPolicyProperties": true,
- "canImportPolicies": true,
- "canViewOtherPolicies": true
}, - "portListRights": {
- "canCreateNewPortLists": true,
- "canDeletePortLists": true,
- "canEditPortListProperties": true
}, - "proxyRights": {
- "canCreateNewProxies": true,
- "canDeleteProxies": true,
- "canEditProxyProperties": true
}, - "relayGroupRights": {
- "canCreateNewRelayGroups": true,
- "canDeleteRelayGroups": true,
- "canEditRelayGroupProperties": true
}, - "scanCacheRights": {
- "canManageScanCache": true
}, - "scheduledTaskRights": {
- "canCreateNewScheduledTasks": true,
- "canDeleteScheduledTasks": true,
- "canEditScheduledTaskProperties": true,
- "canExecuteScheduledTasks": true,
- "canViewScheduledTasks": true
}, - "scheduleRights": {
- "canCreateNewSchedules": true,
- "canDeleteSchedules": true,
- "canEditScheduleProperties": true
}, - "settingRights": {
- "canEditSettings": true,
- "canViewSettings": true
}, - "syslogConfigurationRights": {
- "canCreateNewSyslogConfigurations": true,
- "canDeleteSyslogConfigurations": true,
- "canEditSyslogConfigurationProperties": true
}, - "systemInformationRights": {
- "canManageExtensions": true,
- "canManageNodes": true,
- "canViewSystemInformation": true
}, - "taggingRights": {
- "canDeleteAutoTagRules": true,
- "canUpdateAutoTagRules": true,
- "canRunAutoTagRules": true,
- "canDeleteTags": true,
- "canTag": true
}, - "updateRights": {
- "canImportSoftware": true,
- "canDeleteSoftware": true,
- "canEditSoftwareProperties": true,
- "canImportRuleUpdates": true,
- "canDeleteRuleUpdates": true,
- "canViewRuleUpdates": true
}, - "apikeyRights": {
- "canCreateNewApiKeys": true,
- "canDeleteApiKeys": true,
- "canEditApiKeyProperties": true,
- "canViewApiKeys": true
}, - "iplistRights": {
- "canCreateNewIPLists": true,
- "canDeleteIPLists": true,
- "canEditIPListProperties": true
}, - "samlidentityProviderRights": {
- "canCreateNewSAMLIdentityProviders": true,
- "canDeleteSAMLIdentityProviders": true,
- "canEditSAMLIdentityProviders": true,
- "canViewSAMLIdentityProviders": true
}
}, - "antiMalwareRights": {
- "antiMalwareConfigurationRights": {
- "canCreateNewAntiMalwareConfigurations": true,
- "canDeleteAntiMalwareConfigurations": true,
- "canEditAntiMalwareConfigurations": true
}, - "directoryListRights": {
- "canCreateNewDirectoryLists": true,
- "canDeleteDirectoryLists": true,
- "canEditDirectoryListProperties": true
}, - "fileListRights": {
- "canCreateNewFileLists": true,
- "canDeleteFileLists": true,
- "canEditFileListProperties": true
}, - "fileExtensionListRights": {
- "canCreateNewFileExtensionLists": true,
- "canDeleteFileExtensionLists": true,
- "canEditFileExtensionListProperties": true
}, - "identifiedFileRights": {
- "canDeleteIdentifiedFiles": true,
- "canDownloadIdentifiedFiles": true,
- "canRestoreIdentifiedFiles": true,
- "canSubmitIdentifiedFiles": true
}
}, - "webReputationRights": {
- "webReputationConfigurationRights": {
- "canEditWebReputationConfiguration": true
}
}, - "firewallRights": {
- "contextRights": {
- "canCreateNewContexts": true,
- "canDeleteContexts": true,
- "canEditContextProperties": true
}, - "firewallRuleRights": {
- "canCreateNewFirewallRules": true,
- "canDeleteFirewallRules": true,
- "canEditFirewallRuleProperties": true
}, - "statefulConfigurationRights": {
- "canCreateNewStatefulConfigurations": true,
- "canDeleteStatefulConfigurations": true,
- "canEditStatefulConfigurationProperties": true
}, - "macListRights": {
- "canCreateNewMACLists": true,
- "canDeleteMACLists": true,
- "canEditMACListProperties": true
}
}, - "intrusionPreventionRights": {
- "applicationTypeRights": {
- "canCreateNewApplicationTypes": true,
- "canDeleteApplicationTypes": true,
- "canEditApplicationTypeProperties": true
}, - "intrusionPreventionRuleRights": {
- "canCreateNewIntrusionPreventionRules": true,
- "canDeleteIntrusionPreventionRules": true,
- "canEditIntrusionPreventionRuleProperties": true
}
}, - "integrityMonitoringRights": {
- "integrityMonitoringRuleRights": {
- "canCreateNewIntegrityMonitoringRules": true,
- "canDeleteIntegrityMonitoringRules": true,
- "canEditIntegrityMonitoringRuleProperties": true
}
}, - "logInspectionRights": {
- "logInspectionDecoderRights": {
- "canCreateNewLogInspectionDecoders": true,
- "canDeleteLogInspectionDecoders": true,
- "canEditLogInspectionDecoderProperties": true
}, - "logInspectionRuleRights": {
- "canCreateNewLogInspectionRules": true,
- "canDeleteLogInspectionRules": true,
- "canEditLogInspectionRuleProperties": true
}
}, - "applicationControlRights": {
- "driftRights": {
- "canAllowOrBlockDrift": true,
- "canViewDrift": true
}, - "rulesetRights": {
- "canCreateNewRulesets": true,
- "canDeleteRulesets": true,
- "canEditRulesetProperties": true,
- "canViewRulesets": true
}, - "ruleRights": {
- "canCreateNewAppControlRules": true,
- "canDeleteAppControlRules": true,
- "canEditAppControlRulesProperties": true,
- "canViewAppControlRules": true
}, - "softwareInventoryRights": {
- "canCreateNewSoftwareInventory": true,
- "canDeleteSoftwareInventory": true,
- "canViewSoftwareInventory": true
}
}, - "hostedServiceRights": {
- "accountRights": {
- "canDeleteAccounts": true,
- "canUpdateAccounts": true,
- "canViewAccountBilling": true
}, - "fixRights": {
- "canViewFixes": true
}, - "heapRights": {
- "canViewHeap": true
}, - "licenseRateRights": {
- "canSaveLicenseRates": true,
- "canViewLicenseRates": true
}, - "queryRights": {
- "canViewQuery": true
}, - "queryTracebackRights": {
- "canViewQueryTracebacks": true
}, - "serverLogRights": {
- "canViewServerLogs": true
}, - "stackTraceRights": {
- "canViewStackTraces": true
}
}, - "awsmarketplaceRights": {
- "billingInformationRights": {
- "canViewAWSBillingInformation": true
}
}
}, - "computerIDs": [
- 0
], - "computerGroupIDs": [
- 0
], - "policyIDs": [
- 0
]
}
{- "name": "string",
- "description": "string",
- "urn": "string",
- "immutable": true,
- "canOnlyManipulateUsersWithEqualOrLesserRights": true,
- "allComputers": true,
- "allPolicies": true,
- "allowUserInterface": true,
- "allowWebService": true,
- "rights": {
- "platformRights": {
- "administratorRights": {
- "canCreateNewAdministrators": true,
- "canDeleteAdministrators": true,
- "canEditAdministratorProperties": true,
- "canViewAdministrators": true
}, - "administratorRoleRights": {
- "canCreateNewAdministratorRoles": true,
- "canDeleteAdministratorRoles": true,
- "canEditAdministratorRoleProperties": true,
- "canViewAdministratorRoles": true
}, - "alertConfigurationRights": {
- "canEditAlertConfigurations": true
}, - "alertRights": {
- "canDismissGlobalAlerts": true
}, - "certificateRights": {
- "canCreateNewCertificates": true,
- "canDeleteCertificates": true
}, - "computerRights": {
- "canAddAndRemoveComputerGroups": true,
- "canCreateNewComputers": true,
- "canDeleteComputers": true,
- "canDismissAlerts": true,
- "canEditComputerProperties": true,
- "canImportComputers": true,
- "canManageCloudAccounts": true,
- "canManageDirectories": true,
- "canManageVCenters": true,
- "canTagComputers": true,
- "canViewNotRelatedToComputers": true,
- "canViewOtherComputers": true
}, - "contactRights": {
- "canCreateNewContacts": true,
- "canDeleteContacts": true,
- "canEditContactProperties": true,
- "canViewContacts": true
}, - "diagnosticRights": {
- "canCreateDiagnosticPackages": true
}, - "assetValueRights": {
- "canCreateNewAssetValues": true,
- "canDeleteAssetValues": true,
- "canEditAssetValueProperties": true
}, - "licenseRights": {
- "canChangeLicense": true,
- "canViewLicense": true
}, - "multiTenantRights": {
- "canCreateTenants": true,
- "canDeleteTenants": true,
- "canEditTenantGeneralProperties": true,
- "canEditTenantModules": true,
- "canEditTenantAccountDetails": true,
- "canEditTenantFeatures": true,
- "canEditTenantSettings": true,
- "canCreateAndEditTenantDatabaseServers": true,
- "canDeleteTenantDatabaseServers": true,
- "canManageTenantAPIKeys": true,
- "canSignInAsTenant": true,
- "canViewTenants": true
}, - "policyRights": {
- "canCreateNewPolicies": true,
- "canDeletePolicies": true,
- "canEditPolicyProperties": true,
- "canImportPolicies": true,
- "canViewOtherPolicies": true
}, - "portListRights": {
- "canCreateNewPortLists": true,
- "canDeletePortLists": true,
- "canEditPortListProperties": true
}, - "proxyRights": {
- "canCreateNewProxies": true,
- "canDeleteProxies": true,
- "canEditProxyProperties": true
}, - "relayGroupRights": {
- "canCreateNewRelayGroups": true,
- "canDeleteRelayGroups": true,
- "canEditRelayGroupProperties": true
}, - "scanCacheRights": {
- "canManageScanCache": true
}, - "scheduledTaskRights": {
- "canCreateNewScheduledTasks": true,
- "canDeleteScheduledTasks": true,
- "canEditScheduledTaskProperties": true,
- "canExecuteScheduledTasks": true,
- "canViewScheduledTasks": true
}, - "scheduleRights": {
- "canCreateNewSchedules": true,
- "canDeleteSchedules": true,
- "canEditScheduleProperties": true
}, - "settingRights": {
- "canEditSettings": true,
- "canViewSettings": true
}, - "syslogConfigurationRights": {
- "canCreateNewSyslogConfigurations": true,
- "canDeleteSyslogConfigurations": true,
- "canEditSyslogConfigurationProperties": true
}, - "systemInformationRights": {
- "canManageExtensions": true,
- "canManageNodes": true,
- "canViewSystemInformation": true
}, - "taggingRights": {
- "canDeleteAutoTagRules": true,
- "canUpdateAutoTagRules": true,
- "canRunAutoTagRules": true,
- "canDeleteTags": true,
- "canTag": true
}, - "updateRights": {
- "canImportSoftware": true,
- "canDeleteSoftware": true,
- "canEditSoftwareProperties": true,
- "canImportRuleUpdates": true,
- "canDeleteRuleUpdates": true,
- "canViewRuleUpdates": true
}, - "apikeyRights": {
- "canCreateNewApiKeys": true,
- "canDeleteApiKeys": true,
- "canEditApiKeyProperties": true,
- "canViewApiKeys": true
}, - "iplistRights": {
- "canCreateNewIPLists": true,
- "canDeleteIPLists": true,
- "canEditIPListProperties": true
}, - "samlidentityProviderRights": {
- "canCreateNewSAMLIdentityProviders": true,
- "canDeleteSAMLIdentityProviders": true,
- "canEditSAMLIdentityProviders": true,
- "canViewSAMLIdentityProviders": true
}
}, - "antiMalwareRights": {
- "antiMalwareConfigurationRights": {
- "canCreateNewAntiMalwareConfigurations": true,
- "canDeleteAntiMalwareConfigurations": true,
- "canEditAntiMalwareConfigurations": true
}, - "directoryListRights": {
- "canCreateNewDirectoryLists": true,
- "canDeleteDirectoryLists": true,
- "canEditDirectoryListProperties": true
}, - "fileListRights": {
- "canCreateNewFileLists": true,
- "canDeleteFileLists": true,
- "canEditFileListProperties": true
}, - "fileExtensionListRights": {
- "canCreateNewFileExtensionLists": true,
- "canDeleteFileExtensionLists": true,
- "canEditFileExtensionListProperties": true
}, - "identifiedFileRights": {
- "canDeleteIdentifiedFiles": true,
- "canDownloadIdentifiedFiles": true,
- "canRestoreIdentifiedFiles": true,
- "canSubmitIdentifiedFiles": true
}
}, - "webReputationRights": {
- "webReputationConfigurationRights": {
- "canEditWebReputationConfiguration": true
}
}, - "firewallRights": {
- "contextRights": {
- "canCreateNewContexts": true,
- "canDeleteContexts": true,
- "canEditContextProperties": true
}, - "firewallRuleRights": {
- "canCreateNewFirewallRules": true,
- "canDeleteFirewallRules": true,
- "canEditFirewallRuleProperties": true
}, - "statefulConfigurationRights": {
- "canCreateNewStatefulConfigurations": true,
- "canDeleteStatefulConfigurations": true,
- "canEditStatefulConfigurationProperties": true
}, - "macListRights": {
- "canCreateNewMACLists": true,
- "canDeleteMACLists": true,
- "canEditMACListProperties": true
}
}, - "intrusionPreventionRights": {
- "applicationTypeRights": {
- "canCreateNewApplicationTypes": true,
- "canDeleteApplicationTypes": true,
- "canEditApplicationTypeProperties": true
}, - "intrusionPreventionRuleRights": {
- "canCreateNewIntrusionPreventionRules": true,
- "canDeleteIntrusionPreventionRules": true,
- "canEditIntrusionPreventionRuleProperties": true
}
}, - "integrityMonitoringRights": {
- "integrityMonitoringRuleRights": {
- "canCreateNewIntegrityMonitoringRules": true,
- "canDeleteIntegrityMonitoringRules": true,
- "canEditIntegrityMonitoringRuleProperties": true
}
}, - "logInspectionRights": {
- "logInspectionDecoderRights": {
- "canCreateNewLogInspectionDecoders": true,
- "canDeleteLogInspectionDecoders": true,
- "canEditLogInspectionDecoderProperties": true
}, - "logInspectionRuleRights": {
- "canCreateNewLogInspectionRules": true,
- "canDeleteLogInspectionRules": true,
- "canEditLogInspectionRuleProperties": true
}
}, - "applicationControlRights": {
- "driftRights": {
- "canAllowOrBlockDrift": true,
- "canViewDrift": true
}, - "rulesetRights": {
- "canCreateNewRulesets": true,
- "canDeleteRulesets": true,
- "canEditRulesetProperties": true,
- "canViewRulesets": true
}, - "ruleRights": {
- "canCreateNewAppControlRules": true,
- "canDeleteAppControlRules": true,
- "canEditAppControlRulesProperties": true,
- "canViewAppControlRules": true
}, - "softwareInventoryRights": {
- "canCreateNewSoftwareInventory": true,
- "canDeleteSoftwareInventory": true,
- "canViewSoftwareInventory": true
}
}, - "hostedServiceRights": {
- "accountRights": {
- "canDeleteAccounts": true,
- "canUpdateAccounts": true,
- "canViewAccountBilling": true
}, - "fixRights": {
- "canViewFixes": true
}, - "heapRights": {
- "canViewHeap": true
}, - "licenseRateRights": {
- "canSaveLicenseRates": true,
- "canViewLicenseRates": true
}, - "queryRights": {
- "canViewQuery": true
}, - "queryTracebackRights": {
- "canViewQueryTracebacks": true
}, - "serverLogRights": {
- "canViewServerLogs": true
}, - "stackTraceRights": {
- "canViewStackTraces": true
}
}, - "awsmarketplaceRights": {
- "billingInformationRights": {
- "canViewAWSBillingInformation": true
}
}
}, - "computerIDs": [
- 0
], - "computerGroupIDs": [
- 0
], - "policyIDs": [
- 0
], - "ID": 0
}
Delete an administrator role by ID.
AdministratorRolesApi.deleteAdministratorRole([param1, param2, ...])
AdministratorRolesApi.delete_administrator_role([param1, param2, ...])
AdministratorRolesApi.deleteAdministratorRole([param1, param2, ...])
Request is successful.
Not authorized to delete administrator roles.
import com.trendmicro.deepsecurity.ApiClient; import com.trendmicro.deepsecurity.Configuration; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.ApiException; import com.trendmicro.deepsecurity.api.AdministratorRolesApi; public class DeleteAdministratorRoleExample { public static void main(String[] args) { // Setup ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("YOUR HOST"); // Authentication ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication"); DefaultAuthentication.setApiKey("YOUR API KEY"); try { defaultClient.trustAllCertificates(false); } catch (Exception e) { System.err.println("An exception occurred when calling ApiClient.trustAllCertificates"); e.printStackTrace(); } // Initialization // Set Any Required Values AdministratorRolesApi instance = new AdministratorRolesApi(); Integer roleID = 1; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours instance.deleteAdministratorRole(roleID, apiVersion); } catch (ApiException e) { System.err.println("An exception occurred when calling AdministratorRolesApi.deleteAdministratorRole"); e.printStackTrace(); } } }