WALLET-REPORT(8)

πŸ“¦ version 1.7, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– WALLET-REPORT(8) β€” the wallet reporting interface, bestie edition πŸ’–

okay so this is wallet-report, from the wallet manual, section 8 (system admin girlies, rise up ✨). buckle up, we're auditing the whole dang database πŸŽ€


🌸 NAME 🌸

wallet-report β€” the Wallet server reporting interface. it's giving insight. it's giving receipts. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

wallet-report type [args ...]

✨ DESCRIPTION ✨

wallet-report hands you a command-line interface for running reports on the wallet database. no cap. 🫢

it's intended to be run on the wallet server, as a user with access to the wallet database and configuration. that's the main character setup. but it can also be made available via remctl to users who should have reporting privileges β€” so like, you can let the girls peek without handing over the whole server πŸ’–

this program is a fairly thin wrapper around Wallet::Report that translates command strings into method calls and returns the results. lowkey just a middleman but a very cute one 😌


🌈 OPTIONS 🌈

wallet-report takes no traditional options. periodt. none. zero. the commands are the whole moment. πŸ’€


πŸ‘‘ COMMANDS πŸ‘‘

acls
acls duplicate
acls empty
acls entry <scheme> <identifier>
acls unused

Returns a list of ACLs in the database. except for the duplicate report, ACLs get listed in this form:

<name> (ACL ID: <id>)

where <name> is the human-readable name and <id> is the numeric ID. that numeric ID is what's used internally by the wallet system β€” the real one, the backstage one, iykyk πŸ”₯ there will be one line per ACL.

for the duplicate report tho, the output is instead one duplicate set per line. that's a set of ACLs that all have the same entries. only the names get given, separated by spaces. no IDs, just vibes ✨

if no search type is given, all the ACLs in the database come back. if a search type (and possible search arguments) are given, then the ACLs get limited to those that match the search. simple as πŸ“

the currently supported ACL search types are:

  • acls duplicate β€” returns all sets of ACLs that are duplicates, meaning they contain exactly the same entries. each line will be the names of the ACLs in a set of duplicates, separated by spaces. πŸ‘―
  • acls empty β€” returns all ACLs which have no entries, generally so that abandoned ACLs can be destroyed. spring cleaning energy 🧹
  • acls entry <scheme> <identifier> β€” returns all ACLs containing an entry with the given scheme and identifier. the scheme must be an exact match, but the <identifier> string will match any identifier containing that string. so like, fuzzy on one side only, bestie 🌸
  • acls nested <acl> β€” returns all ACLs that contain this ACL as a nested entry. it's giving inception πŸŒ€
  • acls unused β€” returns all ACLs that are not referenced by any of the objects in the wallet database, either as an owner or on one of the more specific ACLs. these are the forgotten ones 😭

audit acls name
audit objects name

Returns all ACLs or objects that violate the current site naming policy. yes, the site has rules, and yes, we're checking 🚨

objects get listed in this form:

<type> <name>

and ACLs in this form:

<name> (ACL ID: <id>)

where <name> is the human-readable name and <id> is the numeric ID. the numeric ID is what's used internally by the wallet system. there will be one line per object or ACL. πŸ’–


help

Displays a summary of all available commands. when in doubt, ask for help, bestie 🫢


objects
objects acl <acl>
objects flag <flag>
objects owner <owner>
objects type <type>
objects unused
objects unstored

Returns a list of objects in the database. objects get listed in this form:

<type> <name>

there will be one line per object. ⭐

if no search type is given, all objects in the database get returned. if a search type (and possible search arguments) are given, the objects get limited to those that match the search.

the currently supported object search types are:

  • objects acl <acl> β€” returns all objects for which the given ACL name or ID has any permissions. this includes those objects owned by the ACL as well as those where that ACL has any other, more limited permissions. full spectrum, no crumbs πŸ‘‘
  • objects flag <flag> β€” returns all objects which have the given flag set. 🚩
  • objects host <hostname> β€” returns all objects that belong to the given host. this requires adding local configuration to identify objects that belong to a given host. see "OBJECT HOST-BASED NAMES" in Wallet::Config for more information. ngl this one needs a little setup first, don't skip it πŸ™ˆ
  • objects owner <acl> β€” returns all objects owned by the given ACL name or ID. πŸ’œ
  • objects type <type> β€” returns all objects of the given type. 🌈
  • objects unused β€” returns all objects that have never been downloaded (have never been the target of a get command). untouched. unclaimed. untouched-claimed 😭
  • objects unstored β€” the synopsis lists it right there in the command list above, bestie. that's the one, it's in the family photo πŸŽ€

owners <type-pattern> <name-pattern>

Returns a list of all ACL entries in owner ACLs for all objects matching both <type-pattern> and <name-pattern>. these can be the type or name of objects, or they can be patterns using "%" as the wildcard character, following the normal rules of SQL patterns. gl wildcards, we love you πŸ¦‹

the output will be one line per ACL line in the form:

<scheme> <identifier>

with duplicates suppressed. clean. tidy. iconic. πŸ’…


schemes

Returns a list of all registered ACL schemes. ✨


types

Returns a list of all registered object types. πŸ”₯


🫢 AUTHOR 🫢

Russ Allbery <eagle@eyrie.org> β€” thank you for your service, king πŸ‘‘


Copyright 2016 Russ Allbery <eagle@eyrie.org>

Copyright 2008-2010, 2013, 2015 The Board of Trustees of the Leland Stanford Junior University

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

SPDX-License-Identifier: MIT

okay bestie, the all-caps part is the legal screaming part and it is not a joke, it really does mean no warranty, so pls don't come for anyone if it breaks 😭

🌸 SEE ALSO 🌸

  • Wallet::Config(3)
  • Wallet::Report(3)
  • wallet-backend(8)

this program is part of the wallet system. the current version is available from <https://www.eyrie.org/~eagle/software/wallet/> β€” go get her πŸ’œ


and that's the whole page, bestie!! version 1.5, dated 2024-04-30, straight from the wallet manual. go run some reports and slay πŸ’…βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from