Skip to content

Commit

Permalink
remove license
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-swinkler committed Oct 25, 2023
1 parent e1a8296 commit f6626d0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 16 deletions.
5 changes: 1 addition & 4 deletions pkg/resources/testdata/view_1a.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
-- Copyright (c) HashiCorp, Inc.
-- SPDX-License-Identifier: MIT

SELECT RAW:"Asset_Panda_Number"::NUMBER as ASSET_PANDA_NUMBER, RAW:"is_locked"::BOOLEAN as IS_LOCKED, RAW:"id"::VARCHAR as ID, RAW:"Date_Added"::TIMESTAMP_TZ as DATE_ADDED, RAW:"Storage_Capacity"::VARCHAR as STORAGE_CAPACITY, RAW:"Asset_Tag_Number"::VARCHAR as ASSET_TAG_NUMBER, RAW:"is_deletable"::BOOLEAN as IS_DELETABLE, RAW:"has_audit_history"::BOOLEAN as HAS_AUDIT_HISTORY, RAW:"Purchase_From"::VARCHAR as PURCHASE_FROM, RAW:"Department"::VARIANT as DEPARTMENT, RAW:"display_with_secondary"::VARCHAR as DISPLAY_WITH_SECONDARY, RAW:"object_appreciation"::BOOLEAN as OBJECT_APPRECIATION, RAW:"Status"::VARIANT as STATUS, RAW:"Purchase_date"::DATE as PURCHASE_DATE, RAW:"Yubikey_Identifier"::VARCHAR as YUBIKEY_IDENTIFIER, RAW:"display_name"::VARCHAR as DISPLAY_NAME, RAW:"Brand"::VARCHAR as BRAND, RAW:"Assigned_To"::VARIANT as ASSIGNED_TO, RAW:"share_url"::VARCHAR as SHARE_URL, RAW:"object_version_ids"::VARIANT as OBJECT_VERSION_IDS, RAW:"Creation_Date"::DATE as CREATION_DATE, RAW:"Created_By"::VARCHAR as CREATED_BY, RAW:"purchase_price"::FLOAT as PURCHASE_PRICE, RAW:"next_service"::DATE as NEXT_SERVICE, RAW:"building"::VARIANT as BUILDING, RAW:"category"::VARIANT as CATEGORY, RAW:"description"::VARCHAR as DESCRIPTION, RAW:"changed_by"::VARCHAR as CHANGED_BY, RAW:"wireless_status"::VARCHAR as WIRELESS_STATUS, RAW:"created_at"::TIMESTAMP_TZ as CREATED_AT, RAW:"gps_coordinates"::VARIANT as GPS_COORDINATES, RAW:"updated_at"::TIMESTAMP_TZ as UPDATED_AT, RAW:"loaner_pool"::BOOLEAN as LOANER_POOL, RAW:"default_attachment"::VARIANT as DEFAULT_ATTACHMENT, RAW:"room"::VARIANT as ROOM, RAW:"notes"::VARCHAR as NOTES, RAW:"object_depreciation"::BOOLEAN as OBJECT_DEPRECIATION, RAW:"is_editable"::BOOLEAN as IS_EDITABLE, RAW:"wifi_mac_address"::VARCHAR as WIFI_MAC_ADDRESS, RAW:"change_date"::DATE as CHANGE_DATE, RAW:"display_size"::VARCHAR as DISPLAY_SIZE, RAW:"operating_system"::VARCHAR as OPERATING_SYSTEM, RAW:"serial"::VARCHAR as SERIAL, RAW:"end_of_life_date"::DATE as END_OF_LIFE_DATE, RAW:"imei_meid"::VARCHAR as IMEI_MEID, RAW:"model"::VARCHAR as MODEL, RAW:"mac_address"::VARCHAR as MAC_ADDRESS, RAW:"entity"::VARIANT as ENTITY, RAW:"PO"::VARCHAR as PO FROM "SNOWALERT"."DATA"."ASSETPANDA_DEFAULT_CONNECTION";
SELECT RAW:"Asset_Panda_Number"::NUMBER as ASSET_PANDA_NUMBER, RAW:"is_locked"::BOOLEAN as IS_LOCKED, RAW:"id"::VARCHAR as ID, RAW:"Date_Added"::TIMESTAMP_TZ as DATE_ADDED, RAW:"Storage_Capacity"::VARCHAR as STORAGE_CAPACITY, RAW:"Asset_Tag_Number"::VARCHAR as ASSET_TAG_NUMBER, RAW:"is_deletable"::BOOLEAN as IS_DELETABLE, RAW:"has_audit_history"::BOOLEAN as HAS_AUDIT_HISTORY, RAW:"Purchase_From"::VARCHAR as PURCHASE_FROM, RAW:"Department"::VARIANT as DEPARTMENT, RAW:"display_with_secondary"::VARCHAR as DISPLAY_WITH_SECONDARY, RAW:"object_appreciation"::BOOLEAN as OBJECT_APPRECIATION, RAW:"Status"::VARIANT as STATUS, RAW:"Purchase_date"::DATE as PURCHASE_DATE, RAW:"Yubikey_Identifier"::VARCHAR as YUBIKEY_IDENTIFIER, RAW:"display_name"::VARCHAR as DISPLAY_NAME, RAW:"Brand"::VARCHAR as BRAND, RAW:"Assigned_To"::VARIANT as ASSIGNED_TO, RAW:"share_url"::VARCHAR as SHARE_URL, RAW:"object_version_ids"::VARIANT as OBJECT_VERSION_IDS, RAW:"Creation_Date"::DATE as CREATION_DATE, RAW:"Created_By"::VARCHAR as CREATED_BY, RAW:"purchase_price"::FLOAT as PURCHASE_PRICE, RAW:"next_service"::DATE as NEXT_SERVICE, RAW:"building"::VARIANT as BUILDING, RAW:"category"::VARIANT as CATEGORY, RAW:"description"::VARCHAR as DESCRIPTION, RAW:"changed_by"::VARCHAR as CHANGED_BY, RAW:"wireless_status"::VARCHAR as WIRELESS_STATUS, RAW:"created_at"::TIMESTAMP_TZ as CREATED_AT, RAW:"gps_coordinates"::VARIANT as GPS_COORDINATES, RAW:"updated_at"::TIMESTAMP_TZ as UPDATED_AT, RAW:"loaner_pool"::BOOLEAN as LOANER_POOL, RAW:"default_attachment"::VARIANT as DEFAULT_ATTACHMENT, RAW:"room"::VARIANT as ROOM, RAW:"notes"::VARCHAR as NOTES, RAW:"object_depreciation"::BOOLEAN as OBJECT_DEPRECIATION, RAW:"is_editable"::BOOLEAN as IS_EDITABLE, RAW:"wifi_mac_address"::VARCHAR as WIFI_MAC_ADDRESS, RAW:"change_date"::DATE as CHANGE_DATE, RAW:"display_size"::VARCHAR as DISPLAY_SIZE, RAW:"operating_system"::VARCHAR as OPERATING_SYSTEM, RAW:"serial"::VARCHAR as SERIAL, RAW:"end_of_life_date"::DATE as END_OF_LIFE_DATE, RAW:"imei_meid"::VARCHAR as IMEI_MEID, RAW:"model"::VARCHAR as MODEL, RAW:"mac_address"::VARCHAR as MAC_ADDRESS, RAW:"entity"::VARIANT as ENTITY, RAW:"PO"::VARCHAR as PO FROM "SNOWALERT"."DATA"."ASSETPANDA_DEFAULT_CONNECTION";
5 changes: 1 addition & 4 deletions pkg/resources/testdata/view_1b.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
-- Copyright (c) HashiCorp, Inc.
-- SPDX-License-Identifier: MIT

SELECT
RAW:"Asset_Panda_Number"::NUMBER as ASSET_PANDA_NUMBER,
RAW:"is_locked"::BOOLEAN as IS_LOCKED,
Expand Down Expand Up @@ -51,4 +48,4 @@ SELECT
RAW:"mac_address"::VARCHAR as MAC_ADDRESS,
RAW:"entity"::VARIANT as ENTITY,
RAW:"PO"::VARCHAR as PO
FROM "SNOWALERT"."DATA"."ASSETPANDA_DEFAULT_CONNECTION";
FROM "SNOWALERT"."DATA"."ASSETPANDA_DEFAULT_CONNECTION";
5 changes: 1 addition & 4 deletions pkg/resources/testdata/view_2a.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
-- Copyright (c) HashiCorp, Inc.
-- SPDX-License-Identifier: MIT

SELECT value:configRuleName::VARCHAR AS CONFIG_RULE_NAME, VALUE:complianceType::VARCHAR AS COMPLIANCE_TYPE, * FROM ( SELECT parse_json(CONFIGURATION:configRuleList) AS SRC, * FROM "SNOWALERT"."DATA"."AWS_CONFIG_DEFAULT_EVENTS_CONNECTION" WHERE RESOURCE_TYPE = 'AWS::Config::ResourceCompliance' ), lateral flatten(input => SRC)
SELECT value:configRuleName::VARCHAR AS CONFIG_RULE_NAME, VALUE:complianceType::VARCHAR AS COMPLIANCE_TYPE, * FROM ( SELECT parse_json(CONFIGURATION:configRuleList) AS SRC, * FROM "SNOWALERT"."DATA"."AWS_CONFIG_DEFAULT_EVENTS_CONNECTION" WHERE RESOURCE_TYPE = 'AWS::Config::ResourceCompliance' ), lateral flatten(input => SRC)
6 changes: 2 additions & 4 deletions pkg/resources/testdata/view_2b.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
-- Copyright (c) HashiCorp, Inc.
-- SPDX-License-Identifier: MIT

SELECT
SELECT
value:configRuleName::VARCHAR AS CONFIG_RULE_NAME,
VALUE:complianceType::VARCHAR AS COMPLIANCE_TYPE,
*
Expand All @@ -11,4 +9,4 @@
*
FROM "SNOWALERT"."DATA"."AWS_CONFIG_DEFAULT_EVENTS_CONNECTION"
WHERE RESOURCE_TYPE = 'AWS::Config::ResourceCompliance'
), lateral flatten(input => SRC)
), lateral flatten(input => SRC)

0 comments on commit f6626d0

Please sign in to comment.