Operation: Add Category / Update Category
Description: To Add/Edit Web Filter Category. 

Sample Configuration
<WebFilterCategory> <Name>Name</Name> <Classification>Productive/Unproductive/Acceptable/Objectionable</Classification> <QoSPolicy>None</QoSPolicy> <ConfigureCategory>Local/External</ConfigureCategory> <!-- if ConfigureCategory = Local,then we retrieve DomainList and KeywordList --> <DomainList> <Domain>domain</Domain> : </DomainList> <KeywordList> <Keyword>keywords</Keyword> : </KeywordList> <!-- if ConfigureCategory = External,then we retrieve URLList --> <URLList> <URL>http://custom.com</URL> <URL>ftp://custom1.com</URL> : : </URLList> <Description>Text</Description> <OverrideDefaultDeniedMessage>Enable/Disable</OverrideDefaultDeniedMessage> <DefaultDeniedMessage>Default/{Message}</DefaultDeniedMessage> </WebFilterCategory>



Parameter Mandatory Default Description
NameYes  
Specify name of the Web Category.
Name confines to:
  • Type is 'SCALAR'.
  • Datatype is 'STRING'.
  • Characters not allowed: (^;'"\)
  • Maximum characters allowed are 50.
ClassificationNo  
Select how category is to be classified. Available options are Productive, Non-Working, Neutral and Unhealthy.
Classification confines to:
  • Type is 'SCALAR'.
  • Only 'Productive', 'Unproductive', 'Acceptable', 'Objectionable' are allowed.
QoSPolicyYes  
Select the QoS Policy if bandwidth restriction is to be applied.
QoSPolicy confines to:
  • Type is 'SCALAR'.
  • Datatype is 'STRING'.
  • NoComma
  • Maximum characters allowed are 50.
DescriptionNo  
Specify Category description.
Description confines to:
  • Type is 'SCALAR'.
  • Datatype is 'STRING'.
  • Maximum characters allowed are 512.
DefaultDeniedMessageNo  
Specify message in HTML.
DefaultDeniedMessage confines to:
  • Type is 'SCALAR'.
  • Datatype is 'STRING'.
Domain/URLNo  
Specify Domains or URLs to be included under Web Category.
Domain/URL confines to:
  • Type is 'ARRAY'.
  • Datatype is 'IPADDRESS6','STRING'.
  • LOCALURL
  • Maximum characters allowed are 250.
  • Multiple values are allowed.
KeywordNo  
Specify Keywords to be included under Web Category.
Keyword confines to:
  • Type is 'ARRAY'.
  • Datatype is 'STRING'.
  • Maximum characters allowed are 250.
  • Multiple values are allowed.
ConfigureCategoryYes  
Content type can be Local or External URL Database.
ConfigureCategory confines to:
  • Type is 'SCALAR'.
  • Only '0', 'Local', 'External' are allowed.



Operation   Status   Message
Add Category200
Add Category201
Add Category202
Add Category500
Add Category502
Add Category522
Add Category523
Update Category200
Update Category201
Update Category500
Update Category502
Update Category503
Update Category504


© Copyright 2019 Sophos Firewall Limited. All rights reserved.
Sophos Firewall is registered trademarks of Sophos Firewall Limited and Sophos Firewall Group. All other product and company names mentioned are trademarks or registered trademarks of their respective owners.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise unless you are either a valid licensee where the documentation can be reproduced in accordance with the license terms or you otherwise have the prior permission in writing of the copyright owner.