AWS CodePipeline Pipeline pattern-based discovery
Summarize
Summary of AWS CodePipeline Pipeline pattern-based discovery
The AWS CodePipeline Pipeline pattern-based discovery in ServiceNow enables automated identification and mapping of AWS CodePipeline pipelines within your cloud environment using the Discovery and Service Mapping Patterns application. This facilitates comprehensive visibility and accurate configuration management of your AWS pipeline resources by populating both CMDB and non-CMDB tables.
Show less
Key Features
- Pattern Activation: The AWS CodePipeline discovery pattern is disabled by default and must be enabled manually. From Visibility Content version 6.28.0 onward, activating or deactivating patterns no longer counts as a customization and patterns reset to the latest version after upgrades while retaining activation status.
- Prerequisites and Preparation: Ensure AWS discovery prerequisites are met and remove relevant resources from the Resource Inclusion List to prevent duplicate discovery.
- Data Storage:
- Non-CMDB Data: Running the Amazon AWS - CodePipeline Pipeline - Extended Inventory (LP) pattern populates AWS-specific tables accessible via the Configuration > AWS menu, storing pipeline details including ARN, name, type, execution mode, and version.
- CMDB Data: The same pattern populates the CMDB tables, specifically the Cloud Resource [cmdbcicmpresource] table, with resource type, operational and install status, and object identifiers.
- CI Relationships and References: The pattern establishes relationships such as "Hosted on::Hosts" linking the pipeline resource to AWS Datacenter records, supporting accurate service mapping and impact analysis.
- AWS Tag Discovery: Tags associated with pipelines are collected and stored in the Key Value [cmdbkeyvalue] table, linked back to the corresponding Cloud Resource record, enabling enhanced filtering and reporting.
What This Enables for ServiceNow Customers
By leveraging this discovery pattern, customers can automate the detection and documentation of AWS CodePipeline pipelines in their CMDB, ensuring:
- Improved asset visibility and governance over pipeline resources.
- Accurate configuration data supporting change management and operational processes.
- Enhanced service mapping through relationship tracking between pipelines and AWS infrastructure.
- Utilization of tags for categorization, compliance, and reporting tasks.
To implement, customers should verify prerequisites, enable the pattern, ensure no resource conflicts from the inclusion list, and monitor the populated tables for comprehensive pipeline inventory data.
Discovery and Service Mapping Patterns finds AWS CodePipeline Pipelines on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
Pattern-based discovery and mapping requirements
- Verify the AWS discovery prerequisites
- For more information, see the prerequisites section in AWS discovery using patterns.
- Remove resources from the Resource Inclusion List table
- Verify that the relevant resource isn't listed in the Resource Inclusion List [sa_cloud_inventory_resource_whitelist] table to avoid duplicate discovery. For more information on removing resources from the Resource Inclusion List, see AWS Resource Inventory discovery with Patterns.
- Enable the relevant pattern
- The pattern for this service is disabled by default. Starting with Visibility Content version 6.28.0, activating or deactivating a pattern won't be considered a customization, and it will continue to receive updates. Patterns that were previously activated or deactivated will reset to the latest predefined version after upgrading while retaining the last active field value. For more information on enabling patterns, see Activate a disabled pattern.
Discovery and Service Mapping Patterns application populates data in both CMDB and non-CMDB tables.
Data stored in non-CMDB tables
Discovery and Service Mapping Patterns application populates data in the non-CMDB table when running the Amazon AWS - CodePipeline Pipeline - Extended Inventory (LP) pattern.
You can review the non-CMDB AWS tables by navigating to . You can also search the navigation filter for the specific pattern name.
| Field | Description |
|---|---|
| Object ID [object_id] | Amazon Resource Name (ARN) that uniquely identifies the pipeline. |
| Name [name] | Name of the AWS CodePipeline pipeline. |
| Pipeline Type [pipeline_type] | Type of the pipeline. |
| Execution Mode [execution_mode] | Execution mode of the pipeline. |
| Version [version] | Version number of the pipeline. |
| Configuration Item [configuration_item] | References the Cloud Resource [cmdb_ci_cmp_resource] table. |
Data stored in CMDB tables
Discovery and Service Mapping Patterns application populates data in the CMDB when running the Amazon AWS - CodePipeline Pipeline - Extended Inventory (LP) pattern.
| Field | Description |
|---|---|
| Object ID [object_id] | ARN that uniquely identifies the pipeline. |
| Name [name] | Name of the AWS CodePipeline pipeline. |
| Resource type [resource_type] | Type of resource. The value is set to AWS::CodePipeline::Pipeline. |
| Operational status [operational_status] | Operational status of the resource. Default value is Operational. |
| Install Status [install_status] | Install status of the resource. Default value is Installed. |
CI relationships
The Amazon AWS - CodePipeline Pipeline - Extended Inventory (LP) pattern creates the following relationships and references to support AWS CodePipeline Pipeline discovery. References link to records in other tables and don't appear in the CI Relationship [cmdb_rel_ci] table.
| CI | Relationship | CI |
|---|---|---|
| Cloud Resource [cmdb_ci_cmp_resource] | Hosted on::Hosts | AWS Datacenter [cmdb_ci_aws_datacenter] |
| CI | Field | Referenced CI |
|---|---|---|
| AWS CodePipeline Pipeline [cmdb_aws_codepipeline_pipeline] | Configuration Item [configuration_item] | Cloud Resource [cmdb_ci_cmp_resource] |
| Key Value [cmdb_key_value] | Configuration item [configuration_item] | Cloud Resource [cmdb_ci_cmp_resource] |
AWS Tag discovery
The Amazon AWS - CodePipeline Pipeline - Extended Inventory (LP) pattern collects tags and populates them in the Key Value [cmdb_key_value] table.
| Field | Description |
|---|---|
| Key [key] | Tag name. |
| Value [value] | Tag value. |
| Configuration item [configuration_item] | References the Cloud Resource [cmdb_ci_cmp_resource] table. |