Home Man
Search
Today's Posts
Register

Discuss UNIX and Linux computer and network security, cyber security, cyber attacks, IT security, and more.

Proper naming conventions

Tags
command line, linux, security

👤 Login to reply

 
Thread Tools Search this Thread
# 1  
Old 05-11-2018
Data Proper naming conventions

Hey guys, not sure should I post it here or in 'What is on Your Mind?'

I’m discussing usage of DSL (domain specific language) in security tools with my colleagues. We haven't been able to reach an agreement over naming conventions.

There are many tools using DSL: splunk, sumologic, elasticsearch and etc. But what are the best practices?

So for example how would you name each component of the following strings:

Code:
$ sudo readlink -f /bin/ls -n

Code:
$ ps  aux

Code:
$ cat  -a  foobar.txt

I'd really appreciate if you guys could help me out.

You can answer here. Or I have a Google form, which I'd like you to fill out. But I'm not allowed to post URL's yet

Thanks.
# 2  
Old 05-12-2018
So you have log management system, and you wonder how will you name logs that arrive at that central system ?

Stuff you posted are commands doing what a human or script instructed them on the box monitored.

Some of them read plain files, others inspect processes or follow links.
More or less standard stuff a user or administrator would do on a system, if allowed by permissions (files/directory permissions, ability to connect to machine etc.)

I'm not sure what kind of best practice advice you require.
Can you specify to more detail perhaps ?

And welcome to the forums

Regards
Peasant.
The Following User Says Thank You to Peasant For This Useful Post:
Tobby P (05-14-2018)
# 3  
Old 05-14-2018
Quote:
Originally Posted by Peasant
And welcome to the forums
Thanks

Quote:
Originally Posted by Peasant
So you have log management system, and you wonder how will you name logs that arrive at that central system ?
Almost I'm developing a visibility tool and I'm planning to use DSL in similar way splunk and sumologic do. Although, not as complex.

So I need to know how to refer to "sudo", "ls", "echo" or etc. Mainly what is the most common way to call different parts of a string user typed.

I'm not interested in what command can do, but how do you name them.

---------- Post updated at 09:54 AM ---------- Previous update was at 09:52 AM ----------

Maybe this will help – Domain specific language questionnaire

I put everything inside Google form (doesn't collect emails or personal info).
👤 Login to reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Proper syntax jrymer UNIX for Dummies Questions & Answers 1 07-19-2012 10:42 AM
Typographic conventions in bash 4.2 cowLips UNIX for Dummies Questions & Answers 1 03-11-2012 11:17 AM
c calling conventions rupeshkp728 Programming 5 06-23-2010 04:17 PM
question about man font conventions b33713 UNIX for Dummies Questions & Answers 2 01-30-2010 10:03 AM
#file naming rauphelhunter Shell Programming and Scripting 2 09-30-2009 07:28 AM
CSS coding conventions checker figaro UNIX for Dummies Questions & Answers 0 09-13-2009 05:12 AM
A query on Disk naming conventions in Solaris. saagar Solaris 5 04-24-2009 02:00 PM
Naming conventions for shared libraries in Linux neked UNIX for Advanced & Expert Users 2 11-20-2008 10:36 AM
Proper use of prune... guriboy UNIX for Dummies Questions & Answers 1 03-13-2008 12:29 PM
Proper routing BOFH IP Networking 3 03-03-2007 11:36 PM


All times are GMT -4. The time now is 06:00 AM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password