Posts

Rundeck

Rundeck User creation It seems there might be a confusion with the operating system version mentioned. Oracle 7.9 is not an operating system; it is an Enterprise Linux distribution by Oracle, and Oracle Linux 7.x versions are available. Also, the process of creating a user and granting sudo privileges may slightly differ based on the Linux distribution you are using. Assuming you are using Oracle Linux 7.x, here's how you can create a user named "rundeck" and give them sudo privileges: Log in to your Oracle Linux server as a user with sudo privileges or switch to the root user using the su command. sudo useradd -m -s /bin/bash rundeck   =============== To install Rundeck on Oracle Linux 7.x, you can follow these steps. Rundeck is typically installed using a package manager like YUM, so make sure you have internet access and necessary repositories configured.  Update the system: sudo yum update Install Java Development Kit (JDK): Rundeck requires Java to run. You can i...

OPA - For Terraform

Image
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  All Credits to this video creator : https://www.youtube.com/watch?v=deu-BpE1L98  https://github.com/open-policy-agent/opa     -- Github library for OPA  List of Adobters : https://github.com/open-policy-agent/opa/blob/main/ADOPTERS.md   Github repo for Regula : https://github.com/fugue/regula  You may have the question if there already have OPA why did you make regula. Well Regula adds to OPA  loads of capabilities , convenience features for doing infrastructure as code security assessment ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ OPA      Sample of Rego Code :    If you are doing Policy as a Code what you are really doing is testing configurations and this really comes down to looking what a configuration is and deciding if this all fair game or possible errors with it.  And in order to expres...

OPA : Introduction to OPA

Image
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  OPA :  https://www.youtube.com/watch?v=Vdy26oA3py8    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  How OPA works ?  Alice is the customer support rep and she has access to all the service such as (payments / Accounts / Promotions / Notification ) etc . And if she get access to all the system that is not all right . If she decides to bring down all the services she can do which can lead to failure of service. Also if she wants to look up where Bob lives she can do that and find out all his personally identifiable information again this is not Ideal. So what we want to do is put some guard rails into the system to prevent these kinds of things from happening .  In order to get alice do all her job and yet does not hamper the security of the system we are going to put but she cannot do anything that is harmful to the system . In order to do th...