Skip to content

Commit

Permalink
Add system/aaa feature.textproto (#1826)
Browse files Browse the repository at this point in the history
* add system/aaa

* local users not in scope at the moment

* local users are in scope, with corrected path
  • Loading branch information
dplore authored Aug 22, 2023
1 parent a140280 commit 361665e
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 18 deletions.
43 changes: 43 additions & 0 deletions feature/system/aaa/feature.textproto
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

id {
name: "system_aaa"
version: 2
}

# Admin user authentication
config_path {
path: "/system/aaa/authentication/admin-user/config/admin-password"
}
telemetry_path {
path: "/system/aaa/authentication/admin-user/state/admin-password"
}
config_path {
path: "/system/aaa/authentication/admin-user/config/admin-password-hashed"
}
telemetry_path {
path: "/system/aaa/authentication/admin-user/state/admin-password-hashed"
}
telemetry_path {
path: "/system/aaa/authentication/admin-user/state/admin-username"
}

#Local user authentication
config_path {
path: "/system/aaa/authentication/users/user/config/ssh-key"
}
config_path {
path: "/system/aaa/authentication/users/user/config/username"
}
18 changes: 0 additions & 18 deletions feature/system/feature.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ telemetry_path {
path: "/system/cpus/cpu/state/wait/interval"
}


# Memory
telemetry_path {
path: "/system/memory/state/reserved"
Expand All @@ -98,23 +97,6 @@ telemetry_path {
path: "/system/clock/state/timezone-name"
}

# Admin user authentication
config_path {
path: "/system/aaa/authentication/admin-user/config/admin-password"
}
telemetry_path {
path: "/system/aaa/authentication/admin-user/state/admin-password"
}
config_path {
path: "/system/aaa/authentication/admin-user/config/admin-password-hashed"
}
telemetry_path {
path: "/system/aaa/authentication/admin-user/state/admin-password-hashed"
}
telemetry_path {
path: "/system/aaa/authentication/admin-user/state/admin-username"
}

# Alarms
telemetry_path {
path: "/system/alarms/alarm/state/id"
Expand Down

0 comments on commit 361665e

Please sign in to comment.