Narrative:

I was the pilot flying (PF) on aircraft X from ZZZ to ZZZ1. The flight was normal other than some weather diversions over the rocky mountains. The flight was assigned the STAR to runway xx. Somewhere between zzzzz and ZZZZZ1; the flight was cleared to 4;000 ft. MSL direct ZZZZZ2. As the flight was leveling off at 4;000 ft. MSL; we were assigned to slow to an assigned speed of 210 kts. As the aircraft was slowing; I was scanning visually and I saw aircraft Y; 100-200 ft. Below our flight path at the 1 o'clock position; moving directly into our flight path. Seeing that a mid-air collision was imminent; I took evasive action; disconnected the autopilot and went into an immediate climb. Once our aircraft was climbing; I saw aircraft Y begin to dive. When I saw this; the two aircraft were close enough that I could clearly determine the paint scheme on aircraft Y.after the maneuver to avoid aircraft Y we were able to reengage the autopilot and stabilize the aircraft in order to land safely. After the incident; we reported the near-miss to ATC via radio and followed up with a call to TRACON so they could start to investigate what had happened.most alarming was that we did not see a target on the TCAS or get a TA/RA. There was no warning of the danger. ATC also did not issue any traffic warnings about the conflict. Had we been more task saturated; or verifying something in the flight deck instead of looking out at the exact right time; this incident could have had a very tragic outcome. There are a few causal factors that need to be addressed. First; after the captain spoke to TRACON that night; after arriving at the hotel; she was told that aircraft Y had departed ZZZ2; a controlled airport; and was experiencing transponder issues. The pilot of aircraft Y should not have continued flight in the mode-C veil with an inoperative transponder. Also; since date; all aircraft operating in controlled airspace are required to have ads-B out. That requirement is for this reason. To make sure that TCAS equipped aircraft can receive transponder information of aircraft that are around them. Second; ATC cleared us down to 4;000 ft.; and that is the floor of the class-B airspace. This put us in a position that VFR traffic operating under the class-B shelf could be at 3;999 ft. And not be making an incursion into the class-B. With that; aircraft Y should not have been at 3;999 ft. Because of VFR cruising altitudes. The cessna departed from ZZZ2 and landed at ZZZ3; this is a northwest track and the MSL altitude in most of the area is 700 ft. AGL. This means that aircraft Y should have been at a maximum altitude of 3;700 ft. MSL. If aircraft Y was at 3;700 ft.; 300 ft. Is still not enough separation. Even if aircraft Y was legally allowed to be at 3;000 ft. AGL as a cruising altitude it is not a very safe place to be on the approach corridor into an airport such as ZZZ1. I also do not believe that being cleared right to the floor of the class-B airspace was a good place to be assigned. While on the approach to an airport to an airport such as ZZZ1 I am aware of the class-B shelves; but I did not think that I would have been cleared all the way to the floor of the airspace. This leaves no room for error.if there is an aircraft that is any kind of radar target in or below class-B; ATC should inform any aircraft that is in the vicinity of that presence. This is even more important if the aircraft in question has equipment; such as the transponder; that is not working properly. ATC should not clear airline traffic; flying to a class-B airport; to the floor of the airspace unless it is completely necessary. The pilot of the cessna should have returned to ZZZ2 after takeoff when they were informed about the transponder not working properly. This incident was definitely much too close and was completely preventable. We are fortunate that this did not result in a senseless tragedy. There are important lessons for us all in this event and thankfully everyone landed safely.

Google
 

Original NASA ASRS Text

Title: A-321 flight crew reported an NMAC event while on Approach control vectors for final approach course.

Narrative: I was the Pilot Flying (PF) on Aircraft X from ZZZ to ZZZ1. The flight was normal other than some weather diversions over the Rocky Mountains. The flight was assigned the STAR to Runway XX. Somewhere between ZZZZZ and ZZZZZ1; the flight was cleared to 4;000 ft. MSL direct ZZZZZ2. As the flight was leveling off at 4;000 ft. MSL; we were assigned to slow to an assigned speed of 210 kts. As the aircraft was slowing; I was scanning visually and I saw Aircraft Y; 100-200 ft. below our flight path at the 1 o'clock position; moving directly into our flight path. Seeing that a mid-air collision was imminent; I took evasive action; disconnected the autopilot and went into an immediate climb. Once our aircraft was climbing; I saw Aircraft Y begin to dive. When I saw this; the two aircraft were close enough that I could clearly determine the paint scheme on Aircraft Y.After the maneuver to avoid Aircraft Y we were able to reengage the autopilot and stabilize the aircraft in order to land safely. After the incident; we reported the near-miss to ATC via radio and followed up with a call to TRACON so they could start to investigate what had happened.Most alarming was that we did not see a target on the TCAS or get a TA/RA. There was no warning of the danger. ATC also did not issue any traffic warnings about the conflict. Had we been more task saturated; or verifying something in the flight deck instead of looking out at the exact right time; this incident could have had a very tragic outcome. There are a few causal factors that need to be addressed. First; after the Captain spoke to TRACON that night; after arriving at the hotel; she was told that Aircraft Y had departed ZZZ2; a controlled airport; and was experiencing transponder issues. The pilot of Aircraft Y should not have continued flight in the Mode-C veil with an inoperative transponder. Also; since date; all aircraft operating in controlled airspace are required to have ADS-B out. That requirement is for this reason. To make sure that TCAS equipped aircraft can receive transponder information of aircraft that are around them. Second; ATC cleared us down to 4;000 ft.; and that is the floor of the Class-B airspace. This put us in a position that VFR traffic operating under the Class-B shelf could be at 3;999 ft. and not be making an incursion into the Class-B. With that; Aircraft Y should not have been at 3;999 ft. because of VFR cruising altitudes. The Cessna departed from ZZZ2 and landed at ZZZ3; this is a northwest track and the MSL altitude in most of the area is 700 ft. AGL. This means that Aircraft Y should have been at a maximum altitude of 3;700 ft. MSL. If Aircraft Y was at 3;700 ft.; 300 ft. is still not enough separation. Even if Aircraft Y was legally allowed to be at 3;000 ft. AGL as a cruising altitude it is not a very safe place to be on the approach corridor into an airport such as ZZZ1. I also do not believe that being cleared right to the floor of the Class-B airspace was a good place to be assigned. While on the approach to an airport to an airport such as ZZZ1 I am aware of the Class-B shelves; but I did not think that I would have been cleared all the way to the floor of the airspace. This leaves no room for error.If there is an aircraft that is any kind of radar target in or below Class-B; ATC should inform any aircraft that is in the vicinity of that presence. This is even more important if the aircraft in question has equipment; such as the transponder; that is not working properly. ATC should not clear airline traffic; flying to a Class-B airport; to the floor of the airspace unless it is completely necessary. The pilot of the Cessna should have returned to ZZZ2 after takeoff when they were informed about the transponder not working properly. This incident was definitely much too close and was completely preventable. We are fortunate that this did not result in a senseless tragedy. There are important lessons for us all in this event and thankfully everyone landed safely.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.