c8y(1)

πŸ“¦ version 2.56.1, in nixpkgs unstable

πŸ’– c8y(1) β€” the manual page, bestie πŸ’–

Okay so welcome to the c8y(1) manual page, and more specifically the c8y-auditrecords-get command. This is basically the group chat where you ask for an audit record and the CLI delivers. Let's get into it. 🫢


✨ NAME ✨

c8y-auditrecords-get β€” get an audit record. That's the whole vibe. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

c8y auditrecords get [flags]

🌸 DESCRIPTION 🌸

Bestie, this command gets an audit record. Lowkey iconic. You point it at an audit ID and it fetches the record for you. No cap, that's it. ✨

πŸ’… OPTIONS πŸ’…

  • -h, --help[=false] β€” help for get. Like, the help you need when you're lost. πŸ™ˆ
  • --id=[] β€” Audit id. Required, bestie β€” do not forget it. Also accepts pipeline. πŸ‘‘

🧬 OPTIONS INHERITED FROM PARENT COMMANDS 🧬

Okay these are the flags you get from the parent commands, and there are a lot. But every single one matters, so let's go. πŸ’–

  • --abortOnErrors=10 β€” abort the batch when you reach the specified number of errors. Basically a safety net. πŸ›‘
  • --allowEmptyPipe[=false] β€” don't fail when the piped input is empty (stdin). Empty pipe? No problem. 🫢
  • --cache[=false] β€” enable cached responses. Cache era. ✨
  • --cacheBodyPaths=[] β€” cache should limit hashing of selected paths in the json body. Empty indicates all values. iykyk. 🧚
  • --cacheTTL="60s" β€” cache time-to-live (TTL) as a duration, i.e. 60s, 2m. Tick tock. ⏳
  • -c, --compact[=false] β€” compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal. So if you're in the terminal, it's already cute. πŸ’…
  • --confirm[=false] β€” prompt for confirmation. Consent check. βœ…
  • --confirmText="" β€” custom confirmation text. Make it your own. πŸŽ€
  • --currentPage=0 β€” current page which should be returned. Page check. πŸ“„
  • --customQueryParam=[] β€” add custom URL query parameters, i.e. --customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. URL rizz. πŸ”₯
  • --debug[=false] β€” set very verbose log messages. Debug mode: on. πŸ›
  • --delay="0ms" β€” delay after each request, i.e. 5ms, 1.2s. Patience, bestie. ⏱️
  • --delayBefore="0ms" β€” delay before each request, i.e. 5ms, 1.2s. Same energy, but before. 🫢
  • --dry[=false] β€” dry run. Don't send any data to the server. Just vibes. πŸ’€
  • --dryFormat="markdown" β€” dry run output format, i.e. json, dump, markdown or curl. Choose your fighter. 🌈
  • --examples[=false] β€” show examples for the current command. Examples are always a slay. ✨
  • --filter=[] β€” apply a client side filter to response before returning it to the user. Filter it before it hits your feed. πŸ¦‹
  • --flatten[=false] β€” flatten json output by replacing nested json properties with properties where their names are represented by dot notation. Nested? Not anymore. πŸ’…
  • -f, --force[=false] β€” do not prompt for confirmation. Ignored when using --confirm. Bold move. 😭
  • -H, --header=[] β€” custom headers, i.e. --header "Accept: value, AnotherHeader: myvalue". Header game strong. πŸ’ͺ
  • --includeAll[=false] β€” include all results by iterating through each page. All of it. πŸ‘‘
  • -k, --insecure[=false] β€” allow insecure server connections when using SSL. Be careful with this one, bestie. πŸ™ˆ
  • -l, --logMessage="" β€” add custom message to the activity log. Put your name on it. πŸŽ€
  • --maxJobs=0 β€” maximum number of jobs. 0 = unlimited (use with caution!). Unlimited era, but use with caution! 😭
  • --noAccept[=false] β€” ignore Accept header β€” this will remove the Accept header from requests. However, PUT and POST requests will only see the effect. Sneaky. πŸ’€
  • --noCache[=false] β€” force disabling of cached responses (overwrites cache setting). No cache for you. 🚫
  • -M, --noColor[=false] β€” don't use colors when displaying log entries on the console. Monochrome moment. πŸ–€
  • --noLog[=false] β€” disables the activity log for the current command. Quiet mode. 🀫
  • --noProgress[=false] β€” disable progress bars. No loading bar, just vibes. 🫢
  • --noProxy[=false] β€” ignore the proxy settings. Proxy? Never heard of her. πŸ’…
  • -n, --nullInput[=false] β€” don't read the input (stdin). Useful if using in shell for/while loops. Loop-friendly. πŸ”
  • -o, --output="table" β€” output format, i.e. table, json, csv, csvheader. Pick your aesthetic. 🌸
  • --outputFile="" β€” save JSON output to file (after select/view). Save it for later. πŸ’Ύ
  • --outputFileRaw="" β€” save raw response to file (before select/view). Raw and unfiltered. πŸ”₯
  • --outputTemplate="" β€” jsonnet template to apply to the output. Template slay. πŸŽ€
  • -p, --pageSize=5 β€” maximum results per page. Five is the default, bestie. πŸ–οΈ
  • --progress[=false] β€” show progress bar. This will also disable any other verbose output. Progress but quiet. πŸ“Š
  • --proxy="" β€” proxy setting, i.e. http://10.0.0.1:8080. Proxy era. 🌐
  • -r, --raw[=false] β€” show raw response. This mode will force output=json and view=off. Raw is law. πŸ’€
  • --retries=3 β€” max number of attempts when a failed http call is encountered. Three strikes, then we're out. ⚾
  • --select=[] β€” comma separated list of properties to return. Wildcards and globstar accepted, i.e. --select 'id,name,type,**.serialNumber'. Choose your faves. 🌟
  • --session="" β€” session configuration. Session vibes. πŸ”
  • --sessionMode="" β€” override default session mode for a single command which would normally be disabled. One-time override. πŸ’…
  • -P, --sessionPassword="" β€” override session password. Password but make it override. πŸ”‘
  • -U, --sessionUsername="" β€” override session username, i.e. peter or t1234/peter (with tenant). Username glow-up. πŸ‘‘
  • --silentExit[=false] β€” silent status codes do not affect the exit code. Quiet exit. 🀫
  • --silentStatusCodes="" β€” status codes which will not print out an error message. No error message for these. 🚫
  • --timeout="600s" β€” request timeout duration, i.e. 60s, 2m. Ten minutes default. ⏰
  • --totalPages=0 β€” total number of pages to get. Page count. πŸ“š
  • -v, --verbose[=false] β€” verbose logging. Tell me everything. πŸ—£οΈ
  • --view="auto" β€” use views when displaying data on the terminal. Disable using --view off. Auto is the default. πŸ‘€
  • --withError[=false] β€” errors will be printed on stdout instead of stderr. Error but make it stdout. 😭
  • --withTotalElements[=false] β€” request Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.13). Stats era. πŸ“ˆ
  • -t, --withTotalPages[=false] β€” request Cumulocity to include the total pages in the response statistics under .statistics.totalPages. Page stats. πŸ“Š
  • --workers=1 β€” number of workers. One worker default, bestie. πŸ‘·

πŸŽ€ EXAMPLE πŸŽ€

$ c8y auditrecords get --id 12345

Get an audit record by id. Literally that simple. Slay. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹


Okay that's the whole page! This one comes from the c8y(1) manual, dated Jan 1980 β€” yes, vintage. Bye bestie! 🫢✨

πŸ“¦ where this page comes from