Its a simple DevSecOps Pipeline implementation, required wo are good at bash scripting aws, python , devops,
Answer these below
1) In the Python file, write a program to access the contents of the AWS S3 bucket Alpha.
In there there might be multiple files, but your program should find the file with the prefix _beta_, and then output the contents of that file. You should use the boto3 module to solve this challenge
(you do not need any access keys to access the bucket because it is public)
2)In the Bash script, write a program that gets the raw output logs that exist at URL://www.example.com.
Each line begins with a date, e.g. Apr 10 11:17:35. Your program should do the following:
Loop through each log item, and find the lines that contain the string alpha beta/gamma.
For each of those, echo the request_id value to a new line,
and if the fwd key has the value of MASKED, then add a [B] to the end of the line with a space before it.
Your final output should look something like the following:
3) How will you print a file size through bash script in bytes.
Bu iş için 5 freelancer ortalamada ₹2500/saat teklif veriyor
Hello, I am certified DevOps Engineer with 3+ years of experience into the AWS, Python, terraform, serverless, CI/CD and other automation tools. I have been actively working on python development using aws libraries. Daha Fazla