mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
replaced /main/ from /master/
Signed-off-by: Dishank Tiwari <dtiwari@progress.com>
This commit is contained in:
parent
28ad8ed4d0
commit
d51c55c042
16 changed files with 21 additions and 21 deletions
|
@ -20,7 +20,7 @@ the top of the page that you want to edit. The link takes you to that topic's Gi
|
|||
page. In GitHub, click on the pencil icon and make your changes. You can preview
|
||||
how they'll look right on the page ("Preview Changes" tab).
|
||||
|
||||
We also require contributors to include their [DCO signoff](https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco)
|
||||
We also require contributors to include their [DCO signoff](https://github.com/chef/chef/blob/main/CONTRIBUTING.md#developer-certification-of-origin-dco)
|
||||
in the comment section of every pull request, except for obvious fixes. You can
|
||||
add your DCO signoff to the comments by including `Signed-off-by:`, followed by
|
||||
your name and email address, like this:
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
[params.inspec]
|
||||
gh_path = "https://github.com/inspec/inspec/tree/master/docs-chef-io/content/"
|
||||
gh_path = "https://github.com/inspec/inspec/tree/main/docs-chef-io/content/"
|
||||
|
|
|
@ -104,7 +104,7 @@ class ExampleConfig < Inspec.resource(1)
|
|||
end
|
||||
```
|
||||
|
||||
For a full example, see our [example resource](https://github.com/chef/inspec/blob/master/examples/profile/libraries/example_config.rb).
|
||||
For a full example, see our [example resource](https://github.com/chef/inspec/blob/main/examples/profile/libraries/example_config.rb).
|
||||
|
||||
## Lazy Loading
|
||||
|
||||
|
|
|
@ -76,9 +76,9 @@ inspec plugin install --source https://my.private.server inspec-private-plugin
|
|||
### Chef InSpec Plugins
|
||||
|
||||
For details on how to author a Chef InSpec Plugin, see the
|
||||
[developer documentation](https://github.com/inspec/inspec/blob/master/dev-docs/plugins.md)
|
||||
[developer documentation](https://github.com/inspec/inspec/blob/main/dev-docs/plugins.md)
|
||||
|
||||
### Train Plugins
|
||||
|
||||
For details on how to author a Train Plugin, see the
|
||||
[developer documentation](https://github.com/inspec/train/blob/master/docs/plugins.md)
|
||||
[developer documentation](https://github.com/inspec/train/blob/main/docs/plugins.md)
|
||||
|
|
|
@ -41,7 +41,7 @@ where:
|
|||
- `README.md` should be used to explain the profile, its scope, and usage
|
||||
|
||||
See a complete example profile in the Chef InSpec open source repository:
|
||||
[Example Chef InSpec Profile](https://github.com/chef/inspec/tree/master/examples/profile)
|
||||
[Example Chef InSpec Profile](https://github.com/chef/inspec/tree/main/examples/profile)
|
||||
|
||||
Also check out [Explore Chef InSpec resources](https://learn.chef.io/modules/explore-inspec-resources#/)
|
||||
on Learn Chef Rally to learn more about how profiles are structured with hands-on-examples.
|
||||
|
|
|
@ -11,7 +11,7 @@ platform = "aws"
|
|||
parent = "inspec/resources/aws"
|
||||
+++
|
||||
|
||||
[\[edit on GitHub\]](https://github.com/inspec/inspec/blob/master/docs-chef-io/content/aws_ecr_repository.md)
|
||||
[\[edit on GitHub\]](https://github.com/inspec/inspec/blob/main/docs-chef-io/content/aws_ecr_repository.md)
|
||||
|
||||
Use the `aws_ecr_repository` InSpec audit resource to test the properties of a single AWS Elastic Container Registry (ECR) repository.
|
||||
This resource is available in InSpec AWS resource pack version **[1.11.0](https://github.com/inspec/inspec-aws/releases/tag/v1.11.0)** onwards.
|
||||
|
|
|
@ -11,7 +11,7 @@ platform = "aws"
|
|||
parent = "inspec/resources/aws"
|
||||
+++
|
||||
|
||||
[\[edit on GitHub\]](https://github.com/inspec/inspec/blob/master/docs-chef-io/content/inspec/rources/aws_efs_file_system.md)
|
||||
[\[edit on GitHub\]](https://github.com/inspec/inspec/blob/main/docs-chef-io/content/inspec/rources/aws_efs_file_system.md)
|
||||
|
||||
Use the `aws_efs_file_system` InSpec audit resource to test the properties of a single AWS EFS file system.
|
||||
This resource is added to InSpec AWS resource pack in version **[1.10.0](https://github.com/inspec/inspec-aws/releases/tag/v1.10.0)** and it is available with InSpec **[4.18.108](https://github.com/inspec/inspec/releases/tag/v4.18.108)** and later versions.
|
||||
|
|
|
@ -11,7 +11,7 @@ platform = "aws"
|
|||
parent = "inspec/resources/aws"
|
||||
+++
|
||||
|
||||
[\[edit on GitHub\]](https://github.com/inspec/inspec/blob/master/docs-chef-io/content/aws_elasticache_cluster.md)
|
||||
[\[edit on GitHub\]](https://github.com/inspec/inspec/blob/main/docs-chef-io/content/aws_elasticache_cluster.md)
|
||||
|
||||
Use the `aws_elasticache_cluster` InSpec audit resource to test the properties of a single AWS ElastiCache cluster.
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@ There are also additional properties available. For a comprehensive list, see [t
|
|||
its('nat_gateway_address_set') { should include(:private_ip => '10.0.1.68') }
|
||||
end
|
||||
|
||||
For more examples, please check the [integration tests](https://github.com/inspec/inspec-aws/blob/master/test/integration/verify/controls/aws_nat_gateway.rb).
|
||||
For more examples, please check the [integration tests](https://github.com/inspec/inspec-aws/blob/main/test/integration/verify/controls/aws_nat_gateway.rb).
|
||||
|
||||
## Matchers
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ using `aws_nat_gateway` InSpec singular AWS resource.
|
|||
end
|
||||
end
|
||||
|
||||
For more examples, please check the [integration tests](https://github.com/inspec/inspec-aws/blob/master/test/integration/verify/controls/aws_nat_gateways.rb).
|
||||
For more examples, please check the [integration tests](https://github.com/inspec/inspec-aws/blob/main/test/integration/verify/controls/aws_nat_gateways.rb).
|
||||
|
||||
## Matchers
|
||||
|
||||
|
@ -77,7 +77,7 @@ Use `should_not` to test the entity should not exist.
|
|||
it { should_not exist }
|
||||
end
|
||||
|
||||
Please see [here](https://github.com/inspec/inspec/blob/master/docs/dev/filtertable-usage.md) for more information on how to use filter table.
|
||||
Please see [here](https://github.com/inspec/inspec/blob/main/docs/dev/filtertable-usage.md) for more information on how to use filter table.
|
||||
|
||||
## AWS Permissions
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ platform = "aws"
|
|||
parent = "inspec/resources/aws"
|
||||
+++
|
||||
|
||||
[\[edit on GitHub\]](https://github.com/inspec/inspec/blob/master/docs-chef-io/content/aws_sns_subscription.md)
|
||||
[\[edit on GitHub\]](https://github.com/inspec/inspec/blob/main/docs-chef-io/content/aws_sns_subscription.md)
|
||||
|
||||
Use the `aws_sns_subscription` InSpec audit resource to test detailed properties of a AWS SNS Subscription.
|
||||
|
||||
|
|
|
@ -178,4 +178,4 @@ This Chef InSpec audit resource has the following special matchers. For a full l
|
|||
|
||||
Please see the integration tests for in depth examples of how this resource can be used.
|
||||
|
||||
[Chef InSpec Integration Tests for Azure Generic Resources](https://github.com/chef/inspec/tree/master/test/integration/azure/verify/controls)
|
||||
[Chef InSpec Integration Tests for Azure Generic Resources](https://github.com/chef/inspec/tree/main/test/integration/azure/verify/controls)
|
||||
|
|
|
@ -291,5 +291,5 @@ Note: The tag name is case sensitive which makes the test case sensitive. E.g. `
|
|||
|
||||
For more information on Azure Ruby SDK resources, see:
|
||||
|
||||
- [Azure Ruby SDK - Resources](https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_resources)
|
||||
- [Azure Ruby SDK - Resources](https://github.com/Azure/azure-sdk-for-ruby/tree/main/management/azure_mgmt_resources)
|
||||
- [Resource Group](https://github.com/chef/inspec/blob/fc990346f2438690f0ac36a9f6606e61574a79b8/test/azure/verify/controls/resource_group.rb)
|
||||
|
|
|
@ -348,6 +348,6 @@ Note: The tag name is case sensitive which makes the test case sensitive. E.g. `
|
|||
|
||||
## References
|
||||
|
||||
- [Azure Ruby SDK - Resources](https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_resources)
|
||||
- [Azure Ruby SDK - Resources](https://github.com/Azure/azure-sdk-for-ruby/tree/main/management/azure_mgmt_resources)
|
||||
- [Virtual Machine External VM](https://github.com/chef/inspec/blob/fc990346f2438690f0ac36a9f6606e61574a79b8/test/azure/verify/controls/virtual_machine_external_vm.rb)
|
||||
- [Virtual Machine Internal VM](https://github.com/chef/inspec/blob/fc990346f2438690f0ac36a9f6606e61574a79b8/test/azure/verify/controls/virtual_machine_internal_vm.rb)
|
||||
|
|
|
@ -221,6 +221,6 @@ Returns a boolean stating if the machine has Managed Disks for data disks.
|
|||
|
||||
## References
|
||||
|
||||
- [Azure Ruby SDK - Compute](https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_compute)
|
||||
- [Linux Internal Data Disks](https://github.com/chef/inspec/blob/master/test/azure/verify/controls/virtual_machine_linux_external_vm_datadisk.rb)
|
||||
- [Windows Internal Data Disk](https://github.com/chef/inspec/blob/master/test/azure/verify/controls/virtual_machine_windows_internal_vm_datadisk.rb)
|
||||
- [Azure Ruby SDK - Compute](https://github.com/Azure/azure-sdk-for-ruby/tree/main/management/azure_mgmt_compute)
|
||||
- [Linux Internal Data Disks](https://github.com/chef/inspec/blob/main/test/azure/verify/controls/virtual_machine_linux_external_vm_datadisk.rb)
|
||||
- [Windows Internal Data Disk](https://github.com/chef/inspec/blob/main/test/azure/verify/controls/virtual_machine_windows_internal_vm_datadisk.rb)
|
||||
|
|
|
@ -57,9 +57,9 @@ Use resource packs to share custom resources with other Chef InSpec users.
|
|||
A resource pack is a Chef InSpec profile that contains only custom resources and
|
||||
no other controls or tests.
|
||||
|
||||
For example, the profile in [`examples/profile`](https://github.com/chef/inspec/tree/master/examples/profile)
|
||||
For example, the profile in [`examples/profile`](https://github.com/chef/inspec/tree/main/examples/profile)
|
||||
in the Chef InSpec GitHub repository defines an
|
||||
[`example_config` resource](https://github.com/chef/inspec/blob/master/examples/profile/controls/example.rb).
|
||||
[`example_config` resource](https://github.com/chef/inspec/blob/main/examples/profile/controls/example.rb).
|
||||
To use these resources within the Chef InSpec shell, you will need to download
|
||||
and specify them as a dependency.
|
||||
|
||||
|
|
Loading…
Reference in a new issue