glog VS slsa

Compare glog vs slsa and see what are their differences.

glog

Leveled execution logs for Go (by golang)

slsa

Supply-chain Levels for Software Artifacts (by slsa-framework)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
glog slsa
8 35
3,514 1,430
0.2% 2.3%
3.8 8.5
about 1 month ago 4 days ago
Go Shell
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

glog

Posts with mentions or reviews of glog. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-12.
  • Best Logging Library for Golang
    6 projects | dev.to | 12 Feb 2023
    I started a poll on r/golang with these four candidates, but also came to know about glog which was a go port of a C++ project by Google. I used that option in the poll conducted on LinkedIn.
  • Have you replaced Sirupsen/logrus, and if so, with what?
    10 projects | /r/golang | 28 Jun 2022
    Other than print and formatted print to stdout and stderr, what more do you need? I adapted much of the glog rationale into a logging wrapper. Allowing many thousands of unneeded lines from Logrus to be avoided. https://github.com/golang/glog
  • what go logging pkg that output/hides logs according to verbosity -v flag ?
    1 project | /r/golang | 22 Jan 2022
    check out glog, it supports flags out out the box
  • Backdooring Rust crates for fun and profit
    11 projects | news.ycombinator.com | 18 Nov 2021
    By globals, I mean global resources outside of the codes namespace. It may not even be a resource in the process, such as a log file or temporary directory or a database. If you have two versions of a crate in their completely separate worlds, and call both of their init_logging() functions to log to a file specified by an environment variable, things are likely to go pear shaped when they stomp over each others log file.

    I'm a Rust novice, but the example I tripped over in Go was https://github.com/golang/glog. It has a module level init() initialization routine that makes calls to the stdlib flags package, manipulating the default command line flags (a global resource). If you ended up with multiple versions of glog via transient dependencies, your program would panic on startup as the second version's init() would make calls only allowed to be called once. Rust thankfully avoids this particular one by requiring initialization to be called by main() (apart from the hack described in the article).

  • Lumber: A simple and pretty logger for Golang
    6 projects | /r/golang | 24 Sep 2021
    There is no better way than looking at your older brothers and learning from them: stdlib log, glog, logrus, zerolog, log15 (eth fork)...
  • simple logging module for Go - Glog
    3 projects | /r/golang | 11 Aug 2021
    Also glog is the name of Google logging library which is confusing. https://github.com/golang/glog
  • Simple leveled logging solution
    2 projects | /r/golang | 11 Mar 2021
    the 5th hit looks like something made 6-8 yrs ago which would have worked: https://github.com/golang/glog
  • can someone review my code?
    2 projects | /r/golang | 23 Dec 2020
    Read similar repos, compare, learn: https://github.com/rs/zerolog https://christine.website/blog/ln-the-natural-logger-2020-10-17 https://github.com/sirupsen/logrus https://github.com/golang/glog https://github.com/nikandfor/tlog (this one is mine)

slsa

Posts with mentions or reviews of slsa. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-04.
  • SLSA – Supply-Chain Levels for Software Artifacts
    1 project | news.ycombinator.com | 2 Apr 2024
  • Dogbolt Decompiler Explorer
    7 projects | news.ycombinator.com | 4 Dec 2023
    Short answer: not where it counts.

    My work focuses on recognizing known functions in obfuscated binaries, but there are some papers you might want to check out related to deobfuscation, if not necessarily using ML for deobfuscation or decompilation.

    My take is that ML can soundly defeat the "easy" and more static obfuscation types (encodings, control flow flattening, splitting functions). It's low hanging fruit, and it's what I worked on most, but adoption is slow. On the other hand, "hard" obfuscations like virtualized functions or programs which embed JIT compilers to obfuscate at runtime... as far as I know, those are still unsolved problems.

    This is a good overview of the subject, but pretty old and doesn't cover "hard" obfuscations: https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=1566145.

    https://www.jinyier.me/papers/DATE19_Obf.pdf uses deobfuscation for RTL logic (FGPA/ASIC domain) with SAT solvers. Might be useful for a point of view from a fairly different domain.

    https://advising.cs.arizona.edu/~debray/Publications/generic... uses "semantics-preserving transformations" to shed obfuscation. I think this approach is the way to go, especially when combined with dynamic/symbolic analysis to mitigate virt/jit types of transformations.

    I'll mention this one as a cautionary tale: https://dl.acm.org/doi/pdf/10.1145/2886012 has some good general info but glosses over the machine learning approach. It considers Hex-rays' FLIRT to be "machine learning", but FLIRT just hashes signatures, can be spoofed (i.e. https://siliconpr0n.org/uv/issues_with_flirt_aware_malware.p...), and is useless against obfuscation.

    Eventually I think SBOM tools like Black Duck[1] and SLSA[2] will incorporate ML to improve the accuracy of even figuring out what dependencies a piece of software actually has.

    [1]: https://www.synopsys.com/software-integrity/software-composi...

    [2]: https://slsa.dev/

  • 10 reasons you should quit your HTTP client
    5 projects | dev.to | 15 Nov 2023
    The dependency chain is certified! SLSA!
  • UEFI Software Bill of Materials Proposal
    8 projects | news.ycombinator.com | 14 Nov 2023
    The things you mentioned are not solved by a typical "SBOM" but e.g. CycloneDX has extra fields to record provenance and pedigree and things like in-toto (https://in-toto.io/) or SLSA (https://slsa.dev/) also aim to work in this field.

    I've spent the last six months in this field and people will tell you that this or that is an industry best practice or "a standard" but in my experience none of that is true. Everyone is still trying to figure out how best to protect the software supply chain security and things are still very much in flux.

  • Gittuf – a security layer for Git using some concepts introduced by TUF
    5 projects | news.ycombinator.com | 24 Oct 2023
    It's multi-pronged and I imagine adopters may use a subset of features. Broadly, I think folks are going to be interested in a) branch/tag/reference protection rules, b) file protection rules (monorepo or otherwise, though monorepos do pose a very apt usecase for gittuf), and c) general key management for those who primarily care about Git signing.

    For those who care about a and b, I think the work we want to do to support [in-toto attestations](https://github.com/in-toto/attestation) for [SLSA's upcoming source track](https://github.com/slsa-framework/slsa/issues/956) could be very interesting as well.

  • SLSA • Supply-Chain Levels for Software Artifacts
    1 project | news.ycombinator.com | 5 Oct 2023
  • Password-stealing Linux malware served for 3 years and no one noticed
    2 projects | news.ycombinator.com | 12 Sep 2023
    It doesn't have to be. Corporations which are FedRAMP[1] compliant, have to build software reproducibly in a fully isolated environment, only from reviewed code.[2]

    [1] https://en.wikipedia.org/wiki/FedRAMP

    [2] https://slsa.dev/

  • OSCM: The Open Source Consumption Manifesto
    4 projects | dev.to | 4 Sep 2023
    SLSA stands for Supply chain Levels for Software Artifacts, and it is a framework that aims to provide a set of best practices for the software supply chain, with a focus on OSS. It was created by Google, and it is now part of the OpenSSF. It consists of four levels of assurance, from Level 1 to Level 4, that correspond to different degrees of protection against supply chain attacks. Our CTO Paolo Mainardi mentioned SLSA in a very good article on software supply chain security, and we also mentioned it in another article about securing OCI Artifacts on Kubernetes.
  • CLOUD SECURITY PODCAST BY GOOGLE - EP116 SBOMs: A Step Towards a More Secure Software Supply Chain -
    1 project | /r/security_CPE | 10 Apr 2023
    SLSA.dev
  • Supply Chain Levels for Software Artifacts (SLSA)
    1 project | news.ycombinator.com | 3 Apr 2023

What are some alternatives?

When comparing glog and slsa you can also consider the following projects:

zax - Zap logger with context

ClojureDart - Clojure dialect for Flutter and Dart

logrus - Structured, pluggable logging for Go.

grype - A vulnerability scanner for container images and filesystems

zap - Blazing fast, structured, leveled logging in Go.

DependencyCheck - OWASP dependency-check is a software composition analysis utility that detects publicly disclosed vulnerabilities in application dependencies.

slog

sig-security - 🔐CNCF Security Technical Advisory Group -- secure access, policy control, privacy, auditing, explainability and more!

zerolog - Zero Allocation JSON Logger

trivy - Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more

xlog - xlog is a logger for net/context aware HTTP applications

checkov - Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.