Important note about SSL VPN compatibility for 20.0 MR1 with EoL SFOS versions and UTM9 OS. Learn more in the release notes.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

API to change hostname?

I am working on a Terraform Provider for the Sophos Firewall. Is there an API to change the hostname and description of the Sophos Firewall?



This thread was automatically locked due to age.
Parents
  • Hello  ,

    Thank you for reaching out to the community, Sophos API to edit or add host, please refer the sample config below:
    <IPHost>
                    <Name>name</Name>
                    <IPFamily>IPv4/IPv6</IPFamily><!-- default IPv4 -->
                    <HostType>IP/Network/IPRange/IPList</HostType>
                    <IPAddress>1.1.1.1</IPAddress><!-- for type IP only -->
                    <!-- For Network Type -->
                    <IPAddress>1.1.1.1</IPAddress>
                    <Subnet>128.0.0.0</Subnet>
                    <!-- Network type ends -->
                    <!-- For IPRange -->
                    <StartIPAddress>startIPaddress</StartIPAddress>
                    <EndIPAddress>endIPaddress</EndIPAddress>
                    <!-- IPRange type ends -->
                    <!-- For IPList type -->                               <ListOfIPAddresses>192.168.1.125,192.236.25.1</ListOfIPAddresses>
                    <!-- Network type ends -->
                    <HostGroupList>
                           <HostGroup>hostgroupname</HostGroup>
                          <HostGroup>hostgroupname</HostGroup>
                          <HostGroup>hostgroupname</HostGroup>
                           :
                  </HostGroupList>
         </IPHost>

    Thanks & Regards,
    _______________________________________________________________

    Vivek Jagad | Team Lead, Technical Support, Global Customer Experience

    Log a Support Case | Sophos Service Guide
    Best Practices – Support Case  | Security Advisories 
    Compare Sophos next-gen Firewall | Fortune Favors the prepared
    Sophos Community | Product Documentation | Sophos Techvids | SMS
    If a post solves your question please use the 'Verify Answer' button.

  • That adds a IP/Network/IPRange/IPList to the firewall that I can reference when defining rules and whatnot.

    I want change the hostname and description of the firewall itself. Those are displayed on the management website, Sophos Central and in reports.

Reply
  • That adds a IP/Network/IPRange/IPList to the firewall that I can reference when defining rules and whatnot.

    I want change the hostname and description of the firewall itself. Those are displayed on the management website, Sophos Central and in reports.

Children