forked from mirrors/kingfisher
updating s3 feature
This commit is contained in:
parent
0a8e153842
commit
bbe1c38c93
2 changed files with 22 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ kingfisher scan --s3-bucket some-example-bucket
|
|||
KF_AWS_KEY=AKIA... KF_AWS_SECRET=g5nYW... kingfisher scan --s3-bucket some-example-bucket
|
||||
|
||||
# using a local profile (e.g., SSO) that exists in your AWS profile (~/.aws/config)
|
||||
kingfisher scan --s3-bucket some-example-bucket --aws-local-profile myprofile
|
||||
kingfisher scan --s3-bucket some-example-bucket --aws-local-profile default
|
||||
|
||||
# anonymous scan of a bucket, while providing an object prefix to only scan subset of the s3 bucket
|
||||
kingfisher scan \
|
||||
|
|
|
|||
21
data/rules/vmware.yml
Normal file
21
data/rules/vmware.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
rules:
|
||||
- name: Credentials in Connect-VIServer Invocation
|
||||
id: kingfisher.vmware.1
|
||||
pattern: |
|
||||
(?xi)
|
||||
Connect-VIServer
|
||||
.{0,50}
|
||||
-User \s+ (\S{3,30}) \s+ (?# username )
|
||||
.{0,50}
|
||||
-Password \s+ (\S{3,30}) (?# password )
|
||||
|
||||
examples:
|
||||
- 'Connect-VIServer -Server 192.168.1.51 -User administrator@vSphere.local -Password VMware1!'
|
||||
- |
|
||||
#Set-PowerCLIConfiguration -InvalidCertificateAction:Ignore
|
||||
Connect-VIServer "$endpoint" -User "$username" -Password "$password" | Out-Null
|
||||
- 'Connect-VIServer $ESXiHost.EsxiHost -user $ESXiUser -password $ESXipass'
|
||||
- '$null = connect-viserver vc.lab.local -user administrator@vsphere.local -password VMware1!'
|
||||
|
||||
references:
|
||||
- https://developer.broadcom.com/powercli/latest/vmware.vimautomation.core/commands/connect-viserver
|
||||
Loading…
Add table
Add a link
Reference in a new issue