Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Asset Inventory][Azure] Add storage assets #2576

Merged
merged 38 commits into from
Nov 4, 2024

Conversation

kubasobon
Copy link
Member

@kubasobon kubasobon commented Oct 1, 2024

Summary of your changes

Add 3 storage assets: Queues, Queue Services, and Blob Services.

Related Issues

Closes https://github.com/elastic/security-team/issues/10162
Closes https://github.com/elastic/security-team/issues/10163

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • I have added the necessary README/documentation (if appropriate)

Copy link

mergify bot commented Oct 1, 2024

This pull request does not have a backport label. Could you fix it @kubasobon? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v./d./d./d is the label to automatically backport to the 8./d branch. /d is the digit
    NOTE: backport-v8.x has been added to help with the transition to the new branch 8.x.

@mergify mergify bot added the backport-v8.x label Oct 1, 2024
@kubasobon kubasobon marked this pull request as ready for review October 3, 2024 09:05
@kubasobon kubasobon requested a review from a team as a code owner October 3, 2024 09:05
@kubasobon
Copy link
Member Author

@romulets Please take another look

dependabot bot and others added 15 commits October 29, 2024 10:32
…e google group (elastic#2570)

build(deps): Bump google.golang.org/api in the google group

Bumps the google group with 1 update: [google.golang.org/api](https://github.com/googleapis/google-api-go-client).


Updates `google.golang.org/api` from 0.198.0 to 0.199.0
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](googleapis/google-api-go-client@v0.198.0...v0.199.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: google
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the aws group with 23 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) | `1.27.36` | `1.27.39` |
| [github.com/aws/aws-sdk-go-v2/credentials](https://github.com/aws/aws-sdk-go-v2) | `1.17.34` | `1.17.37` |
| [github.com/aws/aws-sdk-go-v2/service/accessanalyzer](https://github.com/aws/aws-sdk-go-v2) | `1.33.0` | `1.33.3` |
| [github.com/aws/aws-sdk-go-v2/service/autoscaling](https://github.com/aws/aws-sdk-go-v2) | `1.44.0` | `1.44.3` |
| [github.com/aws/aws-sdk-go-v2/service/cloudformation](https://github.com/aws/aws-sdk-go-v2) | `1.54.0` | `1.54.3` |
| [github.com/aws/aws-sdk-go-v2/service/cloudtrail](https://github.com/aws/aws-sdk-go-v2) | `1.43.0` | `1.43.3` |
| [github.com/aws/aws-sdk-go-v2/service/cloudwatch](https://github.com/aws/aws-sdk-go-v2) | `1.41.0` | `1.41.3` |
| [github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs](https://github.com/aws/aws-sdk-go-v2) | `1.40.0` | `1.40.3` |
| [github.com/aws/aws-sdk-go-v2/service/configservice](https://github.com/aws/aws-sdk-go-v2) | `1.49.0` | `1.49.3` |
| [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2) | `1.178.0` | `1.179.2` |
| [github.com/aws/aws-sdk-go-v2/service/ecr](https://github.com/aws/aws-sdk-go-v2) | `1.35.0` | `1.35.3` |
| [github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing](https://github.com/aws/aws-sdk-go-v2) | `1.27.0` | `1.27.3` |
| [github.com/aws/aws-sdk-go-v2/service/iam](https://github.com/aws/aws-sdk-go-v2) | `1.36.0` | `1.36.3` |
| [github.com/aws/aws-sdk-go-v2/service/kms](https://github.com/aws/aws-sdk-go-v2) | `1.36.0` | `1.36.3` |
| [github.com/aws/aws-sdk-go-v2/service/lambda](https://github.com/aws/aws-sdk-go-v2) | `1.61.0` | `1.62.1` |
| [github.com/aws/aws-sdk-go-v2/service/organizations](https://github.com/aws/aws-sdk-go-v2) | `1.32.0` | `1.33.1` |
| [github.com/aws/aws-sdk-go-v2/service/rds](https://github.com/aws/aws-sdk-go-v2) | `1.84.0` | `1.85.2` |
| [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2) | `1.63.0` | `1.63.3` |
| [github.com/aws/aws-sdk-go-v2/service/s3control](https://github.com/aws/aws-sdk-go-v2) | `1.48.0` | `1.48.3` |
| [github.com/aws/aws-sdk-go-v2/service/securityhub](https://github.com/aws/aws-sdk-go-v2) | `1.53.0` | `1.53.3` |
| [github.com/aws/aws-sdk-go-v2/service/sns](https://github.com/aws/aws-sdk-go-v2) | `1.32.0` | `1.32.3` |
| [github.com/aws/aws-sdk-go-v2/service/sts](https://github.com/aws/aws-sdk-go-v2) | `1.31.0` | `1.31.3` |
| [github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2](https://github.com/aws/aws-sdk-go-v2) | `1.38.0` | `1.38.3` |


Updates `github.com/aws/aws-sdk-go-v2/config` from 1.27.36 to 1.27.39
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@config/v1.27.36...config/v1.27.39)

Updates `github.com/aws/aws-sdk-go-v2/credentials` from 1.17.34 to 1.17.37
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@credentials/v1.17.34...credentials/v1.17.37)

Updates `github.com/aws/aws-sdk-go-v2/service/accessanalyzer` from 1.33.0 to 1.33.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.33.0...service/fms/v1.33.3)

Updates `github.com/aws/aws-sdk-go-v2/service/autoscaling` from 1.44.0 to 1.44.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.44.0...service/ecs/v1.44.3)

Updates `github.com/aws/aws-sdk-go-v2/service/cloudformation` from 1.54.0 to 1.54.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.54.0...service/s3/v1.54.3)

Updates `github.com/aws/aws-sdk-go-v2/service/cloudtrail` from 1.43.0 to 1.43.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.43.0...service/ssm/v1.43.3)

Updates `github.com/aws/aws-sdk-go-v2/service/cloudwatch` from 1.41.0 to 1.41.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.41.0...service/ecs/v1.41.3)

Updates `github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs` from 1.40.0 to 1.40.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/service/rds/v1.40.3/CHANGELOG.md)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.40.0...service/rds/v1.40.3)

Updates `github.com/aws/aws-sdk-go-v2/service/configservice` from 1.49.0 to 1.49.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.49.0...service/eks/v1.49.3)

Updates `github.com/aws/aws-sdk-go-v2/service/ec2` from 1.178.0 to 1.179.2
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/ec2/v1.178.0...service/ec2/v1.179.2)

Updates `github.com/aws/aws-sdk-go-v2/service/ecr` from 1.35.0 to 1.35.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/service/iot/v1.35.3/CHANGELOG.md)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.35.0...service/iot/v1.35.3)

Updates `github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing` from 1.27.0 to 1.27.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@v1.27.0...config/v1.27.3)

Updates `github.com/aws/aws-sdk-go-v2/service/iam` from 1.36.0 to 1.36.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.36.0...service/ssm/v1.36.3)

Updates `github.com/aws/aws-sdk-go-v2/service/kms` from 1.36.0 to 1.36.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.36.0...service/ssm/v1.36.3)

Updates `github.com/aws/aws-sdk-go-v2/service/lambda` from 1.61.0 to 1.62.1
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.61.0...service/rds/v1.62.1)

Updates `github.com/aws/aws-sdk-go-v2/service/organizations` from 1.32.0 to 1.33.1
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/service/s3/v1.33.1/CHANGELOG.md)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.32.0...service/s3/v1.33.1)

Updates `github.com/aws/aws-sdk-go-v2/service/rds` from 1.84.0 to 1.85.2
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/ec2/v1.84.0...service/rds/v1.85.2)

Updates `github.com/aws/aws-sdk-go-v2/service/s3` from 1.63.0 to 1.63.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.63.0...service/s3/v1.63.3)

Updates `github.com/aws/aws-sdk-go-v2/service/s3control` from 1.48.0 to 1.48.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.48.0...service/eks/v1.48.3)

Updates `github.com/aws/aws-sdk-go-v2/service/securityhub` from 1.53.0 to 1.53.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.53.0...service/iot/v1.53.3)

Updates `github.com/aws/aws-sdk-go-v2/service/sns` from 1.32.0 to 1.32.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.32.0...service/efs/v1.32.3)

Updates `github.com/aws/aws-sdk-go-v2/service/sts` from 1.31.0 to 1.31.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@v1.31.0...service/s3/v1.31.3)

Updates `github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2` from 1.38.0 to 1.38.3
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.38.0...service/s3/v1.38.3)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/config
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/credentials
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/accessanalyzer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/autoscaling
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudformation
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudtrail
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudwatch
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/configservice
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ecr
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/iam
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/kms
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/lambda
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/organizations
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/rds
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/s3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/s3control
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/securityhub
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/sns
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/sts
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
- dependency-name: github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: aws
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
….0 (elastic#2573)

Bumps [go.elastic.co/go-licence-detector](https://github.com/elastic/go-licence-detector) from 0.6.1 to 0.7.0.
- [Release notes](https://github.com/elastic/go-licence-detector/releases)
- [Commits](elastic/go-licence-detector@v0.6.1...v0.7.0)

---
updated-dependencies:
- dependency-name: go.elastic.co/go-licence-detector
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rômulo Farias <romulo.farias@elastic.co>
…ic#2572)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.67.0 to 1.67.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.67.0...v1.67.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rômulo Farias <romulo.farias@elastic.co>
… /.github/workflows (elastic#2568)

build(deps): Bump updatecli/updatecli-action in /.github/workflows

Bumps [updatecli/updatecli-action](https://github.com/updatecli/updatecli-action) from 2.67.0 to 2.68.0.
- [Release notes](https://github.com/updatecli/updatecli-action/releases)
- [Commits](updatecli/updatecli-action@6b8881a...92a13b9)

---
updated-dependencies:
- dependency-name: updatecli/updatecli-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rômulo Farias <romulo.farias@elastic.co>
* chore: Update to elastic/beats@775d26d94a5a

Made with ❤️️ by updatecli

* Fix ristretto breaking changes

---------

Co-authored-by: Rômulo Farias <romulo.farias@elastic.co>
…lastic#2574)

Bumps [github.com/dgraph-io/ristretto](https://github.com/dgraph-io/ristretto) from 0.1.1 to 1.0.0.
- [Release notes](https://github.com/dgraph-io/ristretto/releases)
- [Changelog](https://github.com/dgraph-io/ristretto/blob/main/CHANGELOG.md)
- [Commits](dgraph-io/ristretto@v0.1.1...v1.0.0)

---
updated-dependencies:
- dependency-name: github.com/dgraph-io/ristretto
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
chore: Update hermit and pre-commit packages

Made with ❤️️ by updatecli

Co-authored-by: Rômulo Farias <romulo.farias@elastic.co>
cloudsecmachine and others added 12 commits October 29, 2024 10:32
* chore: Update version.asciidoc with Golang version 1.23.2

Made with ❤️️ by updatecli

* chore: Update .go-version with Golang version 1.23.2

Made with ❤️️ by updatecli

* chore: Update hermit with Golang version 1.23.2

Made with ❤️️ by updatecli
fix: using the input version for serverless

Co-authored-by: Dmitry Gurevich <99176494+gurevichdmitry@users.noreply.github.com>
Co-authored-by: eyalkraft <63912106+eyalkraft@users.noreply.github.com>
Co-authored-by: Oren Zohar <85433724+oren-zohar@users.noreply.github.com>
Revert "fix gh artifacts upload for docker images (elastic#2562)"

This reverts commit 1fa73fa.
chore: Update hermit and pre-commit packages

Made with ❤️️ by updatecli
@kubasobon kubasobon enabled auto-merge (squash) October 30, 2024 10:41
@kubasobon kubasobon merged commit d82da6b into elastic:main Nov 4, 2024
11 checks passed
@kubasobon kubasobon deleted the ast-inv-azure-storage branch November 4, 2024 10:14
mergify bot pushed a commit that referenced this pull request Nov 4, 2024
(cherry picked from commit d82da6b)

# Conflicts:
#	tests/product/tests/data/azure_asset_inventory/test_cases.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants