-- =============================================================================
-- Copyright (C) 2023 by HUAWEI TECHNOLOGIES. All rights reserved.
--
-- Description:
-- Reference: Huawei Enterprise MIB
-- Version: V1.03
-- History:
--          V1.03 The parameter list under the trap node is added by panweihang 30010788.
--          V1.02 In V1.02, TrapObjects is added to the corresponding trap at 2022-11-02 by luozhendong 00649740.
--          V1.01 modify the Syntax Base of hwSecZtnaTrustItemSpec and hwSecZtnaTrustItemCurNum at 2022-8-31 by luozhendong 00649740.
--          V1.00 The initial version created by luozhendong 00649740.
-- =============================================================================

HUAWEI-SECURITY-ZTNA-MIB DEFINITIONS ::= BEGIN

  IMPORTS
      huaweiUtility
            FROM HUAWEI-MIB
      OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP
        FROM SNMPv2-CONF
        Gauge32, IpAddress, OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE
      FROM SNMPv2-SMI
        enterprises
        FROM RFC1155-SMI
            DateAndTime
      FROM SNMPv2-TC;

    -- 1.3.6.1.4.1.2011.6.122.74
    hwSecZtna MODULE-IDENTITY
            LAST-UPDATED "202306071526Z"        --  June 07, 2023 at 15:26 GMT+8
            ORGANIZATION
                "Huawei Technologies Co.,Ltd."
            CONTACT-INFO
                "Huawei Industrial Base
                                  Bantian, Longgang
                                  Shenzhen 518129
                                  People's Republic of China
                                  Website: http://www.huawei.com
                                  Email: support@huawei.com"
            DESCRIPTION
                "V1.03
                The HUAWEI-SECURITY-ZTNA-MIB contains objects to manage the firewall ZTNA module."

                REVISION    "202306071526Z"
                DESCRIPTION "V1.03 The parameter list under the trap node is added at 2023-06-07."

                REVISION    "202211021026Z"
                DESCRIPTION "In V1.02, TrapObjects is added to the corresponding trap at 2022-11-02."

                REVISION    "202208311506Z"
                DESCRIPTION "V1.01 modify the Syntax Base of hwSecZtnaTrustItemSpec and hwSecZtnaTrustItemCurNum at 2022-8-31."

                REVISION    "202208180935Z"
                DESCRIPTION "V1.00 created at 2022-8-18."

            ::= { hwSecurity 74 }


-- ===============================================
-- Node definitions
-- ===============================================

    -- 1.3.6.1.4.1.2011
    --huawei OBJECT IDENTIFIER ::= { enterprises 2011 }

    -- 1.3.6.1.4.1.2011.6
    --huaweiUtility OBJECT IDENTIFIER ::= { huawei 6 }

    -- 1.3.6.1.4.1.2011.6.122
    hwSecurity OBJECT IDENTIFIER ::= { huaweiUtility 122 }


    hwSecZtnaNotification OBJECT IDENTIFIER ::= { hwSecZtna 0 }
    hwSecZtnaTrapObject OBJECT IDENTIFIER ::= { hwSecZtnaNotification 1 }
    hwSecZtnaTraps OBJECT IDENTIFIER ::= { hwSecZtnaNotification 2 }

-- ===============================================
-- TrapObject.
-- ===============================================

      -- 1.3.6.1.4.1.2011.6.122.74.0.1.1
	hwSecZtnaTrustItemSpec OBJECT-TYPE
	SYNTAX Gauge32 
	MAX-ACCESS accessible-for-notify
	STATUS current
	DESCRIPTION
	    "Specifications of trusted items."
	::= { hwSecZtnaTrapObject 1 }

      -- 1.3.6.1.4.1.2011.6.122.74.0.1.2
	hwSecZtnaTrustItemCurNum OBJECT-TYPE
	SYNTAX Gauge32 
	MAX-ACCESS accessible-for-notify
	STATUS current
	DESCRIPTION
	    "The number of current trusted items."
	::= { hwSecZtnaTrapObject 2 }

-- ===============================================
-- definition of traps.
-- ===============================================

      -- 1.3.6.1.4.1.2011.6.122.74.0.2.1
      hwSecZtnaTrustItemOverSpec NOTIFICATION-TYPE
      OBJECTS { hwSecZtnaTrustItemSpec, hwSecZtnaTrustItemCurNum }
      STATUS     current
      DESCRIPTION
          "The number of trusted items on the device has reached the upper limit."
      ::= {hwSecZtnaTraps 1}

      -- 1.3.6.1.4.1.2011.6.122.74.0.2.2
      hwSecZtnaTrustItemBelowSpec NOTIFICATION-TYPE
      OBJECTS { hwSecZtnaTrustItemSpec, hwSecZtnaTrustItemCurNum }
      STATUS     current
      DESCRIPTION
          "The number of trusted items on the device is restored to 95 percent of the upper limit."
      ::= {hwSecZtnaTraps 2}

  END

--
-- HUAWEI-SECURITY-ZTNA-MIB.mib
--
