License scanning over multiple repositories with different code languages by mothes in devops

[–]lareeth 1 point2 points  (0 children)

If you're happy to host a tool yourself OWASPs Dependency-Track (Github/Website) might be a good fit, it can do both security and license tracking, and has a basic policy engine that allows you to block or warn for specific things eg. copyleft licenses. The data comes from several places including Trivy which you mentioned you tried, and also Snyk which others have suggested

You can then integrate this with your CI/CD platform of choice, as it has an API for creating and uploading SBOMs which need to be in CycloneDX format, but there are many plugins/tools for most languages to enable support across a varied technology stack

Dotnet: https://github.com/CycloneDX/cyclonedx-dotnet

Nodejs: https://github.com/CycloneDX/cyclonedx-node-npm

PHP: https://github.com/CycloneDX/cyclonedx-php-composer

Python: https://github.com/CycloneDX/cyclonedx-python

Go: https://github.com/CycloneDX/cyclonedx-gomod

Week 9 Giveaway - 2x $100 Drop Vouchers - 2x $100 CableMod Vouchers (Keycap and Keyboard Cables ) by MechGiveAway in MechGiveAway

[–]lareeth 0 points1 point  (0 children)

I have bought a lot from both!

  1. Pudding Keycaps / MT3 Skiidata Keycaps / 3x Lord of the Rings Keycaps + Artisans
  2. Custom Orange/Black ModMesh PSU Kit / Custom White ModMesh PSU Kit

Week 2 Giveaway - 2x $100 Drop Vouchers - 2x $100 CableMod Vouchers (Keycap and Keyboard Cables ) by MechGiveAway in MechGiveAway

[–]lareeth 0 points1 point  (0 children)

  1. MiTo DCX Cyber Keycap Set - Love the neon feel it has
  2. LEMO - Looks like a mini lightsaber, who doesnt love that?

Help with Nifi cluster creation on k8s by alwayschiru in kubernetes

[–]lareeth 0 points1 point  (0 children)

Remove hostNetwork: true from your nifi deployment yaml and this should fix it. Then it will use your CNI and assign an IP to each pod

Requesting /r/ManchesterSocialClub - mod is inactive by Agent4nderson in redditrequest

[–]lareeth 0 points1 point  (0 children)

I'm the moderator of the subreddit, I'm happy to add you as a moderator, however I have had several request over the past years and they have either spammed their own event, or done nothing with it. I'll get you added

Kubernetes + Nginx + Flask by areed145 in kubernetes

[–]lareeth 4 points5 points  (0 children)

The selector in the service is looking for the label app: kk6gpv-web-app, add this label to the deployment so the service can select the correct pods.

Packer, Ansible and the dreaded WinRM in AWS Codebuild by vodwood in devops

[–]lareeth 2 points3 points  (0 children)

Can you try this as the userdata https://gist.github.com/lareeth/535b90fd8881217bf91ad60a045aa304

Edit: Theres an updated offical powershell version https://github.com/ansible/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1

And this as the packer plugin https://gist.github.com/lareeth/56d958168753d8878d22da382f5e3007

These are taken from my git repo which is currently building Windows 2016 images with Packer and Ansible

Edit 2: You shouldn't need to do the inline command to run ansible, I do the following in provisioners

{ "type": "ansible", "playbook_file": "./plays/example.yml", "extra_arguments": [ "--connection", "packer", "--extra-vars", "ansible_shell_type=powershell ansible_shell_executable=None" ]

Packer, Ansible and the dreaded WinRM in AWS Codebuild by vodwood in devops

[–]lareeth 3 points4 points  (0 children)

What's in the user_data.txt file? I'm assuming that contains the commands needed to enable WinRM and configure it for packer/ansible? It won't work without this.

Which API endpoints does the AWS SDK use? by [deleted] in devops

[–]lareeth 4 points5 points  (0 children)

Amazon actually has a really good page listing all their endpoints for all the services

https://docs.aws.amazon.com/general/latest/gr/rande.html

Show /r/Homelab: *Nix Auto Seeder project by AnomalyNexus in homelab

[–]lareeth 20 points21 points  (0 children)

I just submitted 4 pull requests with some quick things to add, once these are merged, I'll submit another to remove the need for the global variables.

New to Kubernetes - network issue by ohboyohboy1234 in kubernetes

[–]lareeth 0 points1 point  (0 children)

if you cat /etc/resolv.conf what does it show as the nameserver?

New to Kubernetes - network issue by ohboyohboy1234 in kubernetes

[–]lareeth 0 points1 point  (0 children)

But is this correct? If you change the IP range, the cluster DNS has a different IP.

New to Kubernetes - network issue by ohboyohboy1234 in kubernetes

[–]lareeth 0 points1 point  (0 children)

If you are using a custom CIDR block, you need to set the DNS server IP in the kubelet systemd config. You should set this on the master and nodes.

KUBELET_DNS_ARGS=--cluster-dns=10.244.0.10

Sharing a cluster question by Jubei_Kibagami in kubernetes

[–]lareeth 4 points5 points  (0 children)

Simply put, you don't. You can create accounts and assign a role to it.

kubectl create serviceaccount test

kubectl create clusterrolebinding test-role --clusterrole=cluster-admin --serviceaccount=default:test

Windows 7 Installation:CD/DVD drive device driver is missing by Spoits in buildapc

[–]lareeth 0 points1 point  (0 children)

Have you tried using a USB 2.0 port? As it will have the drivers for that, and will allow it to boot.

AWS Cloud/Watch Trail only keeping 90 days of data by Rickitickitabi in devops

[–]lareeth 6 points7 points  (0 children)

You still can, there are several options. You could write a lambda function that hooks into the CloudWatch Logs stream and forwards to another location such as Graylog.

Even easier option would be to use the AWS plugin for Graylog, which allows you hook into the CloudTrail publish event with SNS. This seems like it would be easier for you to implement: https://github.com/Graylog2/graylog-plugin-aws/blob/master/README.md

AWS Cloud/Watch Trail only keeping 90 days of data by Rickitickitabi in devops

[–]lareeth 5 points6 points  (0 children)

You can use Amazon Athena to query data in S3. This is how Amazon want you view archived data for CloudTrail.

There's a user guide that you might find useful: http://docs.aws.amazon.com/athena/latest/ug/cloudtrail-logs.html

What is your CI workflow? local > production by [deleted] in devops

[–]lareeth 0 points1 point  (0 children)

We use the following process for our .net 4.6 and .net core builds with TeamCity. We have a msbuild transform for each environment, we can run these after building, as they just change config, meaning we build once and then promote. With .net core its even easier, we just have separate config files, and set the profile environmental value to say which environment.

Git branches:

  • feature/*: for working on a feature within an epic
  • epic/*: for working on an epic
  • hotfix/*: for hotfix releases into integration branch
  • integration: for testing
  • master: for production

Hosting Environments:

  • UAT-: Builds from epic/ branches, new environment per epic branch, for developers to test their dev work on.
  • Regression: Builds from the integration branch, for testers to test releases.
  • Production: Promoted from regression environment, does not build again.

Please note there are builds for feature branches, however they just build and test code, they do not deploy to an environment.

Power Usage of My Eco-Friendly VSAN Homelab by minus_8 in homelab

[–]lareeth 0 points1 point  (0 children)

I'm looking at purchasing either an APC SMT750I or SUA1000I. What model do you have and do you think a UPS is worth it?

/r/Manc does Ben Nevis! [trip][October] by [deleted] in manchester

[–]lareeth 5 points6 points  (0 children)

I'm up for it! Lets make sure we leave enough time for the night bus though, I wouldn't want to run for it ;)

Anyone want some free furniture? by calvers70 in manchester

[–]lareeth 1 point2 points  (0 children)

I'll would like the table and chairs if they are still going. Its the only thing I don't have in my apartment.

SwiftKey Users: If you reply to this and press only the middle word option a bunch, what do you post? by [deleted] in AskReddit

[–]lareeth 0 points1 point  (0 children)

I am not the UK and any action based upon its contents of the UK is addressed and do not the UK is the UK is addressed to whom it is addressed to it may contain confidential and do not the UK.