id: logging-enable

info:
  name: Cisco Logging Enable - Detect
  author: pussycat0x
  severity: info
  description: |
    Cisco logging 'logging enable' enable command enforces the monitoring of technology risks for organizations' network devices.
  reference:
    - https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/config-mgmt/configuration/xe-16-6/config-mgmt-xe-16-6-book/cm-config-logger.pdf
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  tags: audit,file,cisco,config-audit,cisco-switch

file:
  - extensions:
      - conf

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "logging enable"
        negative: true

      - type: word
        words:
          - "configure terminal"

# Enhanced by md on 2023/05/03
# digest: 4a0a00473045022023636530a1c22a9e4562c3d8621c88f736ba829c66ab0f1a2d7e13fbe9e8d6b0022100fcb0752f56757498831be966fe618f81fb3a10c33cac7b55d2739e69ad939ac9:922c64590222798bb761d5b6d8e72950