Unix/Linux Go Back    


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

Proper naming conventions

Security


Tags
command line, linux

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 1 Week Ago   -   Original Discussion by Tobby P
Tobby P's Unix or Linux Image
Tobby P Tobby P is online now
Registered User
 
Join Date: May 2018
Last Activity: 23 May 2018, 12:41 PM EDT
Location: Canada
Posts: 5
Thanks: 3
Thanked 0 Times in 0 Posts
Data Proper naming conventions

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

Im 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.

Linux 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 Linux

Thanks.
Sponsored Links
    #2  
Old Unix and Linux 1 Week Ago   -   Original Discussion by Tobby P
Peasant's Unix or Linux Image
Peasant Peasant is offline Forum Advisor  
Registered User
 
Join Date: Mar 2011
Last Activity: 23 May 2018, 10:51 AM EDT
Posts: 1,175
Thanks: 32
Thanked 355 Times in 306 Posts
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 Linux

Regards
Peasant.
The Following User Says Thank You to Peasant For This Useful Post:
Tobby P (1 Week Ago)
Sponsored Links
    #3  
Old Unix and Linux 1 Week Ago   -   Original Discussion by Tobby P
Tobby P's Unix or Linux Image
Tobby P Tobby P is online now
Registered User
 
Join Date: May 2018
Last Activity: 23 May 2018, 12:41 PM EDT
Location: Canada
Posts: 5
Thanks: 3
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Peasant View Post
And welcome to the forums Linux
Thanks LinuxLinuxLinux

Quote:
Originally Posted by Peasant View Post
So you have log management system, and you wonder how will you name logs that arrive at that central system ?
Almost Linux 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).
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
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
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



All times are GMT -4. The time now is 12:49 PM.