Commit Graph

2453 Commits (v3.24.1)
 

Author SHA1 Message Date
shirou 65b5fa32b9
Merge pull request #1587 from shirou/dependabot/github_actions/actions/upload-artifact-4.3.0
chore(deps): bump actions/upload-artifact from 4.2.0 to 4.3.0
1 year ago
dependabot[bot] 22413975af
chore(deps): bump actions/upload-artifact from 4.2.0 to 4.3.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](694cdabd8b...26f96dfa69)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou 9de1a429b9
Merge pull request #1585 from DataDog/bryce.kahle/os-release-version-id
use VERSION_ID from os-release
1 year ago
shirou 9b6f82813a
Merge pull request #1584 from DataDog/bryce.kahle/host-platform
ensure host platform are files and have contents
1 year ago
shirou dc01f63e85
Merge pull request #1583 from shirou/dependabot/github_actions/actions/cache-4.0.0
chore(deps): bump actions/cache from 3.3.3 to 4.0.0
1 year ago
shirou e912ebde7a
Merge pull request #1580 from jnewmano/patch-1
Windows, read all PIDs if there are more than 1024 PIDs.
1 year ago
shirou b86b36a290
Merge pull request #1586 from shirou/dependabot/github_actions/actions/upload-artifact-4.2.0
chore(deps): bump actions/upload-artifact from 4.1.0 to 4.2.0
1 year ago
dependabot[bot] 61758d5e3c
chore(deps): bump actions/upload-artifact from 4.1.0 to 4.2.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](1eb3cb2b3e...694cdabd8b)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Bryce Kahle d753f78612
use VERSION_ID from os-release
`VERSION_ID` is more appropriate for scripts and other usages, since `VERSION` can contain spaces and codenames

from `os-release` manpage:
```
VERSION=
           A string identifying the operating system version, excluding
           any OS name information, possibly including a release code
           name, and suitable for presentation to the user. This field
           is optional.

           Examples: "VERSION=17", "VERSION="17 (Beefy Miracle)"".

 VERSION_ID=
           A lower-case string (mostly numeric, no spaces or other
           characters outside of 0–9, a–z, ".", "_" and "-") identifying
           the operating system version, excluding any OS name
           information or release code name, and suitable for processing
           by scripts or usage in generated filenames. This field is
           optional.

           Examples: "VERSION_ID=17", "VERSION_ID=11.04".
```
1 year ago
Bryce Kahle b0d976c49b
ensure host platform are files and have contents
In a containerized deployment, it is common to mount several files from /etc. Within the container, those files will be created regardless if they exist on the host or not. In those instances, the existing code would erroneously return empty platform information.
1 year ago
dependabot[bot] f28a23e3b3
chore(deps): bump actions/cache from 3.3.3 to 4.0.0
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.3 to 4.0.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](e12d46a63a...13aacd865c)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou 83c941c791
Merge pull request #1582 from shirou/dependabot/github_actions/actions/upload-artifact-4.1.0
chore(deps): bump actions/upload-artifact from 4.0.0 to 4.1.0
1 year ago
dependabot[bot] 73f479fdcd
chore(deps): bump actions/upload-artifact from 4.0.0 to 4.1.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](c7d193f32e...1eb3cb2b3e)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou 442e0ad6f9
Merge pull request #1575 from shirou/feat/fix_disk_unix_uint64cast
[linux][disk]: fix Rdev cast
1 year ago
shirou 8aa43a2785
Merge pull request #1577 from shirou/dependabot/go_modules/golang.org/x/sys-0.16.0
chore(deps): bump golang.org/x/sys from 0.15.0 to 0.16.0
1 year ago
shirou 9627f199e2
Merge pull request #1579 from shirou/feature/enable_cache_on_host_boottime
[host]: add EnableBootTimeCache function
1 year ago
shirou 4ba3cd4d59
Merge pull request #1581 from shirou/dependabot/github_actions/actions/cache-3.3.3
chore(deps): bump actions/cache from 3.3.2 to 3.3.3
1 year ago
dependabot[bot] 2b5830f6f9
chore(deps): bump actions/cache from 3.3.2 to 3.3.3
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](704facf57e...e12d46a63a)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Jason Newman 15f7946fcb
Windows, read all pids if there are more than 1024 pids.
Convert bytes read to number of uint32s that were read.
1 year ago
shirou b10acd4894 [host]: add EnableBootTimeCache function 1 year ago
shirou 13218ce5b1 feat: add linux, mips on build test 1 year ago
dependabot[bot] 3a36b46e6c
chore(deps): bump golang.org/x/sys from 0.15.0 to 0.16.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/sys/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou ce11e9ca5f [linux][disk]: fix Rdev cast 1 year ago
shirou df3c7bdec0
Merge pull request #1573 from scop/feat/udev-fs-label
feat(disk): look for filesystem labels from udev on Linux
1 year ago
Ville Skyttä adaeba09d9 feat(disk): look for filesystem labels from udev on Linux 1 year ago
shirou 4870f6f119
Merge pull request #1569 from scop/perf/regex-compile
Avoid repeated regexp compilations
1 year ago
shirou 08afc01d17
Merge pull request #1570 from scop/perf/unnecessary-regexps
Avoid some uses of regexps
1 year ago
Ville Skyttä 11bc5b3970 Avoid some uses of regexps 1 year ago
Ville Skyttä 362fa4b9c4 Avoid repeated regexp compilations 1 year ago
shirou 108235a098
Merge pull request #1561 from keeword/master
add deepin and uos distro
1 year ago
shirou f308985abb
Merge pull request #1563 from shirou/dependabot/github_actions/actions/upload-artifact-4.0.0
chore(deps): bump actions/upload-artifact from 3.1.3 to 4.0.0
1 year ago
dependabot[bot] 5ce87a6113
chore(deps): bump actions/upload-artifact from 3.1.3 to 4.0.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.3 to 4.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](a8a3f3ad30...c7d193f32e)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou 4b820ed2ca
Merge pull request #1564 from shirou/revert-1559-dependabot/github_actions/actions/labeler-5.0.0
Revert "chore(deps): bump actions/labeler from 4.3.0 to 5.0.0"
1 year ago
shirou b9cb0e2f30
Revert "chore(deps): bump actions/labeler from 4.3.0 to 5.0.0" 1 year ago
shirou 3776279c0f
Merge pull request #1559 from shirou/dependabot/github_actions/actions/labeler-5.0.0
chore(deps): bump actions/labeler from 4.3.0 to 5.0.0
1 year ago
Xie Weineng 0de2d14a7c add deepin and uos distro 1 year ago
shirou 9deadc9914
Merge pull request #1560 from shirou/dependabot/github_actions/actions/setup-go-5.0.0
chore(deps): bump actions/setup-go from 4.1.0 to 5.0.0
1 year ago
dependabot[bot] 9dd090e1b0
chore(deps): bump actions/setup-go from 4.1.0 to 5.0.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](93397bea11...0c52d547c9)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot] 4086e97048
chore(deps): bump actions/labeler from 4.3.0 to 5.0.0
Bumps [actions/labeler](https://github.com/actions/labeler) from 4.3.0 to 5.0.0.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](ac9175f8a1...8558fd7429)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou 321901ee51
Merge pull request #1554 from shirou/dependabot/go_modules/golang.org/x/sys-0.15.0
chore(deps): bump golang.org/x/sys from 0.14.0 to 0.15.0
1 year ago
dependabot[bot] e1bb8db88f
chore(deps): bump golang.org/x/sys from 0.14.0 to 0.15.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/sys/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou fad5e68647
Merge pull request #1551 from blinklabs-io/feat/use-lsof-freebsd-connections
feat: use lsof for net_connections on FreeBSD
1 year ago
Chris Gianelloni a8418dfd73 feat: use lsof for net_connections on FreeBSD
Use net.ConnectionsPidWithContext on FreeBSD, similarly to how it is done
on Darwin. This uses common.CallLsofWithContext underneath the hood, which
will use lsof under the hood, if available.

Tested on FreeBSD 13.2-RELEASE

Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
1 year ago
shirou e74324b6a7
Merge pull request #1548 from shirou/dependabot/go_modules/golang.org/x/sys-0.14.0
chore(deps): bump golang.org/x/sys from 0.13.0 to 0.14.0
1 year ago
dependabot[bot] 807d466078
chore(deps): bump golang.org/x/sys from 0.13.0 to 0.14.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/sys/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou a7e2bdf91c
Merge pull request #1544 from JanDeDobbeleer/master
fix(linux): validate cpu fields length before accessing index
1 year ago
Jan De Dobbeleer ac63a5690e
fix(windows): remove log statement 1 year ago
Jan De Dobbeleer a1eedcae8e
fix(linux): validate cpu fields length before accessing index 1 year ago
shirou c020a0890e
Merge pull request #1537 from shirou/feat/fix_darwin_host_users
[host][darwin]: fix Users
1 year ago
shirou 4ad4406c03
Merge pull request #1542 from shirou/dependabot/github_actions/actions/checkout-4.1.1
chore(deps): bump actions/checkout from 4.1.0 to 4.1.1
1 year ago