Comments (2)
I'd make the following suggestions:
- clear your inspec.lock . InSpec caches its dependency resolution.
- could you post the contents of rdstest.rb ? That determines what is actually happening.
from inspec.
Downloaded the inspec-aws locally :
`PS C:\Users\Administrator\test_aws> ls
d---- 1/23/2024 6:23 AM controls
d---- 1/23/2024 5:51 PM inspec-aws
-a--- 1/23/2024 6:22 AM 96 inputs.yml
-a--- 1/23/2024 6:04 PM 608 inspec.yml
-a--- 1/23/2024 6:22 AM 9453 README.md`
Also updated the path in inspec.yml :
`name: test_aws
title: AWS InSpec Profile
maintainer: The Authors
copyright: The Authors
copyright_email: [email protected]
license: Apache-2.0
summary: An InSpec Compliance Profile For AWS
version: 0.1.0
inspec_version: '~> 5'
inputs:
-
name: aws_vpc_id
required: false
value: ''
description: 'Optional Custom AWS VPC Id'
depends:- name: inspec-aws
path: C:\Users\Administrator\test_aws
supports: - platform: aws`
test control file :
control 'aws-rds-01' do impact 1.0 title 'Check RDS instance existence' describe aws_rds_instance(db_instance_identifier: 'my_instance_id') do its ('db_instance_class') { should eq 'db.r6i.xlarge' } end end
- name: inspec-aws
Version :
PS C:\Users\Administrator\test_aws> inspec --version 5.22.36
Same error :
[2024-01-23T18:06:22+00:00] ERROR: DEPRECATION: AWS resources in core InSpec are deprecated and have been removed in InSpec 5. They are now part of a resource pack. Please update your profiles to depend on [email protected]:inspec/inspec-aws.git . Resource 'aws_rds_instance' (used at ./controls/rdstest.rb:4)
from inspec.
Related Issues (20)
- inspec : Cannot process the XML from the 'Error' stream of 'C:\opscode\inspec\bin\inspec.bat': Data at the root level is invalid. Line 1, position 1. HOT 1
- docker_container: "Malformed version number string 23.0.6+azure-2" HOT 2
- failed to check ssh -V command output HOT 2
- Inspec SSH fails to connect to server with KEX error HOT 1
- Issues connecting to remote Windows Host HOT 2
- `windows_task` is not portable on different locales
- Missing Dictionary of Valid Values for the `platform-family` and the `platform-name` `inspec.yml` Entries HOT 2
- License Check issue on 6.6.0 HOT 12
- inspec `check` on 6.6.0 having issues, v5.22.36 has no issues HOT 11
- Possible Addition To Enhanced Reporting HOT 7
- only_applicable_if incorrectly records failures when triggered HOT 3
- inspec reports static systemd services as enabled
- Unexpected Behavior When Controls in an overlay Profile are Created as Multiple Files
- Having issue running inspec exec with packer shell-local HOT 2
- Apple M1 Clang targeting x86
- [Collection for Review] InSpec AST Parser
- inspec check does not run correctly with overlays in 6.6.0
- Replication rules for s3
- inspec 5.22.36 uses wrong tests from github HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inspec.