@@ -41,32 +41,22 @@ public List<ModuleRequirement> checkRequirements(Long serverId) throws Exception
4141 public List <ModuleConfigurationKey > getConfigurationKeys (Long groupId ) throws Exception {
4242 List <ModuleConfigurationKey > keys = new ArrayList <>();
4343
44- // sophos_api_url
44+ // sophos_api_client_id
4545 keys .add (ModuleConfigurationKey .builder ()
4646 .withGroupId (groupId )
47- .withConfKey ("sophos_api_url " )
48- .withConfName ("API Url " )
49- .withConfDescription ("Configure Sophos Central api url " )
47+ .withConfKey ("sophos_client_id " )
48+ .withConfName ("Client Id " )
49+ .withConfDescription ("Configure Sophos Central client id " )
5050 .withConfDataType ("text" )
5151 .withConfRequired (true )
5252 .build ());
5353
54- // sophos_authorization
55- keys .add (ModuleConfigurationKey .builder ()
56- .withGroupId (groupId )
57- .withConfKey ("sophos_authorization" )
58- .withConfName ("Authorization" )
59- .withConfDescription ("Configure Sophos Central Authorization" )
60- .withConfDataType ("password" )
61- .withConfRequired (true )
62- .build ());
63-
64- // sophos_x_api_key
54+ // sophos_x_client_secret
6555 keys .add (ModuleConfigurationKey .builder ()
6656 .withGroupId (groupId )
6757 .withConfKey ("sophos_x_api_key" )
68- .withConfName ("X-API-KEY " )
69- .withConfDescription ("Configure Sophos Central api key " )
58+ .withConfName ("Client Secret " )
59+ .withConfDescription ("Configure Sophos Central client secret " )
7060 .withConfDataType ("password" )
7161 .withConfRequired (true )
7262 .build ());
0 commit comments