c8y(1)
π 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,markdownorcurl. 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 forceoutput=jsonandview=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.peterort1234/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 π¦
c8y-auditrecords(1)β the parent command, go check it out bestie. π
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
- nixpkgs unstable: go-c8y-cli 2.56.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms